alihaydaroglu / suite3d

Fast, accurate, volumetric cell detection. Developed for Light Beads Microscopy, usable for other volumetric 2P. In development
6 stars 0 forks source link

Full_Demo KeyError #24

Closed Sihao closed 1 year ago

Sihao commented 1 year ago
Traceback (most recent call last):
  File "/home/slu/pycharm-2022.2/plugins/python/helpers/pydev/pydevd.py", line 1496, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/slu/pycharm-2022.2/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/home/slu/PycharmProjects/s2p-lbm/demos/Full_Demo.py", line 161, in <module>
    sweep_summary = n.load(os.path.join(job.dirs['sweep-vmap-params-2'], 'sweep_summary.npy'),allow_pickle=True).item()
KeyError: 'sweep-vmap-params-2'
alihaydaroglu commented 1 year ago

They key 'sweep-vmap-params-2' should be changed to correspond to whatever the name of the directory for this sweep is; in the case of the demo this is 'sweep-01' which is the testing_dir_tag argument of job.sweep_params. I'll make the modification to the test notebook.

alihaydaroglu commented 1 year ago

fixed here in the demo notebook: https://github.com/alihaydaroglu/s2p-lbm/commit/542c62e86969582d4372a12a7abac09653005bb4