SainsburyWellcomeCentre / lasagna

3-D imaging visualisation through slicing
http://sainsburywellcomecentre.github.io/lasagna/
GNU General Public License v3.0
29 stars 7 forks source link

Trying to load a line class crashes Lasagna #222

Closed raacampbell closed 5 years ago

raacampbell commented 5 years ago
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
raacampbell commented 5 years ago

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

raacampbell commented 5 years ago

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.

raacampbell commented 5 years ago

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

raacampbell commented 5 years ago

Using the refactored version all is good: 6948c3594ac53a8ea401e0d638e9dbae85ae6521