-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for directories of files without ACRO metdata #239
Conversation
This means changing to use a directory picker, rather than a file picker. This means a bit of guess work when there are acro metadata files in the directory. The upshot of this is: a) we now launch the app in a special /load url to do this guess work b) we no longer support a directory with multiple acro metadata files in
583098d
to
fe92036
Compare
Fixes #235 |
b705e78
to
a85fa60
Compare
- better comment text - calculate checksums to silence notice It'd be better to switch off checkshums in the non-ACRO case. But that trickier, so this hack should work
@@ -73,20 +83,16 @@ const createWindow = async () => { | |||
}); | |||
|
|||
const result = await dialog.showOpenDialog({ | |||
title: "Choose ACRO outputs json file", | |||
properties: ["openFile"], | |||
title: "Choose directory containing outputs you wish to review", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Windows tends to use "folder" rather than directory. However, I appreciate that's super picky and might not be worth changing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, yeah, perhaps that would be better. I may change it in later PR
This means changing to use a directory picker, rather than a file
picker. This means a bit of guess work when there are acro metadata
files in the directory. The upshot of this is:
a) we now launch the app in a special /load url to do this guess work
b) we no longer support a directory with multiple acro metadata files in
Fixes #235