ver228 / tierpsy-tracker

Multi-Worm Behaviour Tracker
http://ver228.github.io/tierpsy-tracker/
MIT License
24 stars 40 forks source link

test examples link broken #75

Open kathbee opened 4 years ago

kathbee commented 4 years ago

When attempting to run tierpsy_tests --download_files, I got this error:

File "/usr/local/bin/tierpsy_tests", line 11, in <module>
    load_entry_point('tierpsy', 'console_scripts', 'tierpsy_tests')()
  File "/usr/src/app/tierpsy/tests/run_tests.py", line 264, in tierpsy_tests
    download_files(data_dir)
  File "/usr/src/app/tierpsy/tests/run_tests.py", line 40, in download_files
    with zipfile.ZipFile(tmp_file, "r") as zip_ref:
  File "/usr/local/lib/python3.8/zipfile.py", line 1269, in __init__
    self._RealGetContents()
  File "/usr/local/lib/python3.8/zipfile.py", line 1336, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

When I visited the link the files should be downloaded from in my browser ( line 17, run_tests.py, https://imperiallondon-my.sharepoint.com/personal/ajaver_ic_ac_uk/_layouts/15/guestaccess.aspx?guestaccesstoken=ldZ18fLY%2bzlu7XuO9mbKVdyiKoH4naiesqiLXWU4vGQ%3d&docid=0cec4e52f4ccf4d5b8bb3a737020fc12f&rev=1 ), it says it's been disabled, which I assume to be the underlying cause. Perhaps a FigShare link would be a better permanent home for the test data (as long as files are under 5GB)? Thanks!