kousu / annexremote-openneuro Goto Github PK
View Code? Open in Web Editor NEW`git-annex` plugin for https://openneuro.org
`git-annex` plugin for https://openneuro.org
julien-macbook:~/temp $ pip install git+https://github.com/kousu/annexremote-openneuro#egg=annexremote-openneuro
Collecting annexremote-openneuro
Cloning https://github.com/kousu/annexremote-openneuro to /private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/annexremote-openneuro
Running command git clone -q https://github.com/kousu/annexremote-openneuro /private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/annexremote-openneuro
Requirement already satisfied: click>=7.0.0 in /Users/julien/miniconda3/lib/python3.7/site-packages (from annexremote-openneuro) (7.1.2)
Collecting progressbar>=2.0.0
Downloading progressbar-2.5.tar.gz (10 kB)
Collecting aiogqlc@ git+https://github.com/kousu/aiogqlc.git@nested-files
Cloning https://github.com/kousu/aiogqlc.git (to revision nested-files) to /private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc
Running command git clone -q https://github.com/kousu/aiogqlc.git /private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc
Running command git checkout -b nested-files --track origin/nested-files
Switched to a new branch 'nested-files'
Branch 'nested-files' set up to track remote branch 'nested-files' from 'origin'.
ERROR: Command errored out with exit status 1:
command: /Users/julien/miniconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc/setup.py'"'"'; __file__='"'"'/private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-pip-egg-info-e1w0egba
cwd: /private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc/
Complete output (35 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc/setup.py", line 3, in <module>
setup()
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/Users/julien/miniconda3/lib/python3.7/distutils/core.py", line 121, in setup
dist.parse_config_files()
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/dist.py", line 698, in parse_config_files
ignore_option_errors=ignore_option_errors)
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/config.py", line 120, in parse_configuration
meta.parse()
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/config.py", line 425, in parse
section_parser_method(section_options)
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/config.py", line 398, in parse_section
self[name] = value
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/config.py", line 183, in __setitem__
value = parser(value)
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/config.py", line 513, in _parse_version
version = self._parse_attr(value, self.package_dir)
File "/Users/julien/miniconda3/lib/python3.7/site-packages/setuptools/config.py", line 348, in _parse_attr
module = import_module(module_name)
File "/Users/julien/miniconda3/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc/aiogqlc/__init__.py", line 1, in <module>
from aiogqlc.client import GraphQLClient
File "/private/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/pip-install-ho498o10/aiogqlc/aiogqlc/client.py", line 1, in <module>
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Maybe related to using conda??
The website won't let you upload an invalid dataset and neither will the other CLI. The API does just fine, but that's not the point. We should integrate a BIDS validator and refuse to upload an invalid dataset, too, or at least warn about it.
We could let it be overridden by --force, but it would be a good thing to catch by default.
Though this would also add another dependency, so maybe I don't like that.
Is there an elegant way to get parallel downloads or even uploads to work?
openneuro.Client
and openneuro-cli
should live in a separate repo that this depends on, instead of being stuffed inside of here.
It would be good to have a -v
or --progress
like rsync
to show the state of uploading/downloading.
(alternately, write a PyFUSE layer instead, and then you can actually use rsync).
There's no way to get an individual file's details, and they don't live in the GraphQL API. Ideas:
@functools.lru_cache
and be done with it.@functools.timed_cache
; set the timeout to say, a minute.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.