We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534e882 commit 5351a17Copy full SHA for 5351a17
src/py_eddy_tracker/data/__init__.py
@@ -9,12 +9,10 @@ def get_path(name):
9
10
11
def get_remote_sample(path):
12
- # url = (
13
- # f"https://github.com/AntSimi/py-eddy-tracker-sample-id/raw/master/{path}.tar.xz"
14
- # )
15
- # content = requests.get(url).content
16
- url = f"/home/toto/dev/py-eddy-tracker-sample-id/{path}.tar.xz"
17
- content = open(url, "rb").read()
+ url = (
+ f"https://github.com/AntSimi/py-eddy-tracker-sample-id/raw/master/{path}.tar.xz"
+ )
+ content = requests.get(url).content
18
19
# Tar module could manage lzma tar, but it will apply un compress for each extractfile
20
tar = tarfile.open(mode="r", fileobj=io.BytesIO(lzma.decompress(content)))
0 commit comments