-
Notifications
You must be signed in to change notification settings - Fork 10
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 B2Share support #88 #89
Conversation
Add support for providers in OSF: J535D165#69
for more information, see https://pre-commit.ci
It would be very cool to add support for this! Can you rebase? |
It might also be nice to split the filter-files extension from the PR so that we can have a closer look at the design. It looks promising. |
Code cleaned. |
@@ -320,7 +320,7 @@ class MendeleyDataset(DatasetDownloader): | |||
class OSFDataset(DatasetDownloader): | |||
"""Downloader for OSF repository.""" | |||
|
|||
REGEXP_ID = r"osf\.io\/(?P<record_id>.*)/" | |||
REGEXP_ID = r"osf\.io\/(?P<record_id>[^\/]*)\/{0,1}" |
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.
Interesting catch. I'm fine with keeping this in this PR.
Apparently, the test fails because I removed the raise_for_status d8a4a49. I'm a bit confused. |
for more information, see https://pre-commit.ci
It should not have changed. |
It should not affect the tests. |
It works now! I tested it on the benchmark dataset. Everything looks good. |
No description provided.