magellanmapper icon indicating copy to clipboard operation
magellanmapper copied to clipboard

Importing 2D images on windows

Open kaparna126 opened this issue 3 years ago • 2 comments

The gui in the source code version of the software doesn't allow the user to select a whole folder for import, a single file is required to be chosen. Alternatively, loading the image via command line works.

kaparna126 avatar Jun 08 '21 02:06 kaparna126

Thanks, @kaparna126! Could be related to the recent directory import update. Will need to check on the folder selection setting. Thanks for the command-line workaround for now.

yoda-vid avatar Jun 08 '21 04:06 yoda-vid

I looked into this more and see that we do have the allow_dir parameter set for the file dialog editor in TraitsUI, which is working on macOS but not Windows from my tests. I went back to an older configuration using an earlier version of TraitsUI (6.0.0) and the other Traits-related packages, but the problem is there as well. I filed a TraitsUI issue to see if we can resolve it.

A workaround is to select any file within the folder, manually delete the name of the file from the path so it only has the directory, and press Enter in the path box. The import table should then fill up with the full directory contents.

yoda-vid avatar Jun 14 '21 05:06 yoda-vid