Skip to content

test examples link broken #75

@kathbee

Description

@kathbee

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions