generate_nix_testfiles.sh 630 B

1234567891011121314151617181920
  1. conda create -y -n generate_testfiles python=3.9 pip packaging numpy=1.20.1
  2. conda activate generate_testfiles
  3. echo "$CONDA_PREFIX"
  4. pip install nixio
  5. neo_versions=('0.6.1' '0.7.2' '0.8.0' '0.9.0' '0.10.2' '0.11.1' '0.12.0')
  6. pip install numpy==1.20.0
  7. for neo_version in "${neo_versions[@]}"; do
  8. pip install --quiet --upgrade neo==$neo_version
  9. pip install --quiet nixio==1.5.2
  10. if [[ ${neo_version} == '0.6.1' ]]; then
  11. echo "Installing old nixio version for ancient neo versions"
  12. pip install --quiet nixio==1.4.9
  13. fi
  14. python generate_nix_testfiles.py
  15. done
  16. conda deactivate
  17. conda env remove --name generate_testfiles