Open kousu opened 3 years ago
Are we still using BIDS neuropoly? @alexfoias @mariehbourget? Didn't we move to the more active and community-supported pybids?
but everywhere else uses pybids:
Are we still using BIDS neuropoly? @alexfoias @mariehbourget? Didn't we move to the more active and community-supported pybids?
For ivadomed, bids_neuropoly
is not used anymore in the loading pipeline. It is only used in the function merge_bids_dataset
that could be removed as well, see issue #726.
I personally didn't use this in a very good while. We should stick to pybids and dcm2bids.
For ivadomed, bids_neuropoly
is not used anymore and was removed from requirements in PR #746.
@kousu @jcohenadad the issue https://github.com/ivadomed/ivadomed/issues/726 was fixed. I think we can archive this repo.
If I use
--no-binary
to installbids_neuropoly
from source it fails withAnd, annoying, then
pip
decides instead of stopping to quietly install version 0.1 instead.i.e. this sdist (via https://pypi.org/project/bids-neuropoly/0.2/#files) is broken, but this older sdist (via https://pypi.org/project/bids-neuropoly/0.1/#files) works.
This should be a simple fix: either make sure to ship
requirements.txt
in thesdist
(I did a similar fix recently over https://github.com/UNFmontreal/Dcm2Bids/pull/111) or migrate the contents ofrequirements.txt
directly intosetup.py
.Reproduction
``` [kousu@requiem neuropoly]$ python3 -m virtualenv venv created virtual environment CPython3.9.2.final.0-64 in 993ms creator CPython3Posix(dest=/home/kousu/src/neuropoly/venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/kousu/.local/share/virtualenv) added seed packages: pip==21.0.1, setuptools==54.1.2, wheel==0.36.2 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator [kousu@requiem neuropoly]$ . venv/bin/activate (venv) [kousu@requiem neuropoly]$ pip install --no-binary "bids-neuropoly" bids-neuropoly Collecting bids-neuropoly Using cached bids_neuropoly-0.2.tar.gz (2.9 kB) ERROR: Command errored out with exit status 1: command: /home/kousu/src/neuropoly/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7gscpkxs/bids-neuropoly_65ebbc03972941c8aff1c850f4ddf7eb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7gscpkxs/bids-neuropoly_65ebbc03972941c8aff1c850f4ddf7eb/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 /tmp/pip-pip-egg-info-0byjh1pb cwd: /tmp/pip-install-7gscpkxs/bids-neuropoly_65ebbc03972941c8aff1c850f4ddf7eb/ Complete output (7 lines): Traceback (most recent call last): File "