SainsburyWellcomeCentre/lasagna

Trying to load a line class crashes Lasagna

Closed this issue · 4 comments

llasanga.addIngredient - Adding imagestack ingredient: sample.tiff
Traceback (most recent call last):
  File "/Users/rob/work/Anatomy/code/lasagna/IO/line_reader_plugin.py", line 68, in showLoadDialog
    fileFilter="Text Files (*.txt *.csv *.pts *.yml)", multifile=True
TypeError: showFileLoadDialog() got an unexpected keyword argument 'multifile'
Abort trap: 6

This doesn't happen with the tree loader or the image stack loader.

The line class loader is in a directory containing what seem to be non-refactored loaders. The refactored loaders are in lasagna/io_libs. However, only the image stack loader does anything. The sparse points loader is present in the directory but isn't being added to the menu.

Mistake. The IO loaders are actually in lasagna/plugins/io/

Using the refactored version all is good: 6948c35