-
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
feat: add provider for downloading datasets from scicat #18
Closed
Closed
Changes from 4 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6778d7c
feat: add provider for downloading datasets from scicat
jokasimr 0c1fb42
fix
jokasimr 4fb9418
remove unnecessary whitespace
jokasimr ffa86ed
use scitacean testing fixtures, separate client provider
jokasimr cb9036c
refactor tests to use fake file transfer
jokasimr bb795bd
better name
jokasimr fc2ca3a
simplify
jokasimr 405fbfc
remove extras, add conftest
jokasimr 1e7a61c
fix: lock for threading
jokasimr 09b361c
fix: allow parallel download of different data
jokasimr 29aa5f1
fix: add test returning local path but doesnt download file
jokasimr 5f23eac
add related datasets getter
jokasimr 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,82 @@ | ||
# SHA1:b5fdb6600edc83ab95fb0e848607edef52cdd293 | ||
# SHA1:9f94c3c17a1fa254f95cd3b142a3a3a996202efd | ||
# | ||
# This file is autogenerated by pip-compile-multi | ||
# To update, run: | ||
# | ||
# pip-compile-multi | ||
# | ||
annotated-types==0.6.0 | ||
# via pydantic | ||
attrs==23.2.0 | ||
# via hypothesis | ||
bcrypt==4.1.2 | ||
# via paramiko | ||
certifi==2024.2.2 | ||
# via requests | ||
cffi==1.16.0 | ||
# via | ||
# cryptography | ||
# pynacl | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
cryptography==42.0.5 | ||
# via paramiko | ||
dnspython==2.6.1 | ||
# via email-validator | ||
email-validator==2.1.1 | ||
# via scitacean | ||
exceptiongroup==1.2.0 | ||
# via hypothesis | ||
filelock==3.13.3 | ||
# via scitacean | ||
h5py==3.10.0 | ||
# via scippnexus | ||
hypothesis==6.100.0 | ||
# via scitacean | ||
idna==3.6 | ||
# via | ||
# email-validator | ||
# requests | ||
numpy==1.26.4 | ||
# via | ||
# h5py | ||
# scipp | ||
# scipy | ||
paramiko==3.4.0 | ||
# via scitacean | ||
pycparser==2.22 | ||
# via cffi | ||
pydantic==2.6.4 | ||
# via scitacean | ||
pydantic-core==2.16.3 | ||
# via pydantic | ||
pynacl==1.5.0 | ||
# via paramiko | ||
python-dateutil==2.9.0.post0 | ||
# via scippnexus | ||
# via | ||
# scippnexus | ||
# scitacean | ||
pyyaml==6.0.1 | ||
# via scitacean | ||
requests==2.31.0 | ||
# via scitacean | ||
scipp==24.2.0 | ||
# via | ||
# -r base.in | ||
# scippnexus | ||
scippnexus==24.3.1 | ||
# via -r base.in | ||
scipy==1.12.0 | ||
scipy==1.13.0 | ||
# via scippnexus | ||
scitacean[sftp,test]==23.10.0 | ||
# via -r base.in | ||
six==1.16.0 | ||
# via python-dateutil | ||
sortedcontainers==2.4.0 | ||
# via hypothesis | ||
typing-extensions==4.11.0 | ||
# via | ||
# pydantic | ||
# pydantic-core | ||
urllib3==2.2.1 | ||
# via requests |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,3 @@ mypy==1.9.0 | |
# via -r mypy.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
typing-extensions==4.10.0 | ||
# via mypy |
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
Oops, something went wrong.
Oops, something went wrong.
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.
If we avoid using extras then the new way of defining
meta.yaml
automatically (seecopier_template
) will work. Also, why do we depend on thetest
extra, that seems odd?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 I'll remove the
test
extra. How can we avoid depending on thesftp
extra? By manually adding the dependencies?