-
Notifications
You must be signed in to change notification settings - Fork 9
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
FIX: Remove restriction on upload data directory structure #43
FIX: Remove restriction on upload data directory structure #43
Conversation
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.
LGTM!
I was trying to find doc strings to update which reflects this change. Looks like there are few places to update. |
I didn't find any that needed to be updated, so if you have ones you think should be changed then yes please let me know. I thought all of the other locations were valid still. For example: imap-data-access/imap_data_access/cli.py Lines 169 to 170 in 82e9bbb
is still correct because you must give the path to the file, we don't infer it anywhere. Maybe changing it to "This can be a relative or absolute path." would help though? |
@tech3371 I didn't actually remove the default directory |
The README has the following statement regarding the data directory. Does this only apply to downloading files and not to uploading files?
|
Yes, that is correct with this PR. Would it help to add something like this sentence?
|
Okay thanks for the clarification. Yeah, I think a short note about that would be helpful |
0908a12
to
5846db5
Compare
Merging now, feel free to open another PR or leave suggestions here and I'm happy to follow-up if there are any other docs suggestions. |
2a1abc9
into
IMAP-Science-Operations-Center:main
Change Summary
Overview
Our APIs don't require the full path anymore, they can use just the filename and infer the directory structure. This is helpful for the upload to be able to upload a file from the current working directory.
closes #41