Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing 2D images on windows #39

Open
kaparna126 opened this issue Jun 8, 2021 · 2 comments
Open

Importing 2D images on windows #39

kaparna126 opened this issue Jun 8, 2021 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@kaparna126
Copy link
Contributor

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.

@yoda-vid
Copy link
Collaborator

yoda-vid commented Jun 8, 2021

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 yoda-vid added the bug Something isn't working label Jun 8, 2021
@yoda-vid yoda-vid added this to the v1.5.0 milestone Jun 8, 2021
@yoda-vid
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants