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

[MRG] Add figshare as a storage provider #100

merged 2 commits into from Jul 21, 2017
Jump to file or symbol
Failed to load files and symbols.
+9 −1
Diff settings


Just for now

@@ -29,6 +29,14 @@ def test_split_storage():
assert store == 'github'
assert path == 'foo/bar/baz'
store, path = split_storage('figshare/foo/bar/baz')
assert store == 'figshare'
assert path == 'foo/bar/baz'
store, path = split_storage('/figshare/foo/bar/baz')
assert store == 'figshare'
assert path == 'foo/bar/baz'
def test_norm_remote_path():
path = 'foo/bar/baz.txt'
@@ -6,7 +6,7 @@
import os
import six
KNOWN_PROVIDERS = ['osfstorage', 'github']
KNOWN_PROVIDERS = ['osfstorage', 'github', 'figshare']
def norm_remote_path(path):
ProTip! Use n and p to navigate between commits in a pull request.