-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
EHSTPCR-1144: Implemented the function get_datalabs_path along with the #2998
EHSTPCR-1144: Implemented the function get_datalabs_path along with the #2998
Conversation
Hello @esdc-esac-esa-int! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2024-04-29 09:20:54 UTC |
Build problem with docs/readthedocs.org:astroquery, but this problem seems unrelated to this ticket |
CHANGES.rst
Outdated
@@ -193,6 +193,10 @@ esa.hubble | |||
- New methods to retrieve metadata (``get_observations_from_program``) and | |||
files (``download_files_from_program``) associated to a proposal. [#2910] | |||
|
|||
- New method ``get_datalabs_path``to return the complete path of a file in | |||
datalambs by combining the datalabs volume path with the path of the file |
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.
Please fix the typo here (datalambs)
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.
Typo fixed
conform to the defaults in datalabs. Default value for default_volume is now None, and in that case the volume and the first folders of the path are filled automatically
Fixed the code style issues |
Added /filename to the output of the function to get the complete path to the file |
of default_volume=None
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.
Looks good, thank you!
@talonsoalbi - if you add the email address you made the commits with to your github profile, these commits will properly show up as your contributions. |
Many thanks @bsipocz !! |
Implemented a function get_datalabs_path to return the complete path of a file in datalabs by combining the datalabs volume path with the path of the file in the table ehst.artifact