-
Notifications
You must be signed in to change notification settings - Fork 8
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
Map data files to repository #87
Merged
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
2ac33ef
Add Array Express as repository
kdp-cloud 1ec1344
Add functionality to map files to repositories according to the ISA-JSON
kdp-cloud 6f9278f
Add error when there is a mismatch
kdp-cloud aafc35a
Pass full file names instead of short names
kdp-cloud dd5dcab
Add data file map to submit function
kdp-cloud 4c786e8
Add guard clause to keep MyPy happy
kdp-cloud a44af34
Linting
kdp-cloud 28168f8
Add warning for unmapped data file
kdp-cloud 5cbfdc8
Fix enum problem
kdp-cloud 5ea2bd8
Revert "Fix enum problem"
kdp-cloud 9ee367d
Access enum's value field
kdp-cloud d46e253
Update mars-cli/tests/test_biosample_external_references.py
kdp-cloud 5bd6cb4
Check duplicated files
kdp-cloud File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This removes the first occurrence, correct? It could be confusing if the user accidentally repeats a filename in the command and then still sees the warning that it will be skipped. Could do something like
to get them all.
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.
Good catch! But should we allow the user to pass a file multiple times? Or are there situations where a data file is submitted to multiple repositories? (Honest question...)
Also, shouldn't it be this then:
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.
Yes of course, your
remaining_files
filter is the right one 👍For submitting the same data files to multiple repositories, this is indeed a good question... I feel like this shouldn't happen but maybe it's something we'll have to revisit in the future.