picasso icon indicating copy to clipboard operation
picasso copied to clipboard

Issue with localize function

Open Daan-Haas opened this issue 1 year ago • 1 comments

  • Picasso version: 0.6.1
  • Python version: 3.10.13
  • Operating System: Win10

Description

Calling picasso.localize.localize on the rawdata dataset from the git gave an error. Looking through the code, localize calls identify but doesn't pass an argument for 'box'

What I Did

params = io.load_info(infofile)
movie, info = io.load_raw(rawfile)

locs = localize.localize(movie, info, params)

and the error:

    locs = localize.localize(movie, info, params)
 line 428, in localize
    identifications = identify(movie, parameters)
TypeError: identify() missing 1 required positional argument: 'box'

Daan-Haas avatar Nov 01 '23 13:11 Daan-Haas

Hi,

Thanks for raising the issue. This is an old piece of code which we will solve with the next Picasso release. For now, I recommend to use Picasso localize directly from the command window (not within the python script) as described here: https://picassosr.readthedocs.io/en/latest/cmd.html#localize

Bests, Rafal

rafalkowalewski1 avatar Nov 01 '23 16:11 rafalkowalewski1