Skip to content

Commit

Permalink
Update link to datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Oct 14, 2024
1 parent f2eee61 commit 562b936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def download(path, link, desc=None):

def download_dataset(datadir, full_resolution: bool = False, overwrite: bool = False):
if full_resolution:
link = "https://www.dropbox.com/scl/fi/d885qvngi3oqfdc8fnxin/Count00000_Point2C_ChannelBF_Seq0015.nd2?rlkey=yb9dmf3zj597idte89cba73wx&dl=1"
link = "https://zenodo.org/records/13929568/files/Count00000_Point2C_ChannelBF_Seq0015.nd2?download=1"
path = datadir / "Count00000_Point2C_ChannelBF_Seq0015.nd2"
else:
path = datadir / "Count00000_Point2C_ChannelBF_Seq0015.npy"
link = "https://www.dropbox.com/scl/fi/dy9e3vqyjf57bih3i36iz/Count00000_Point2C_ChannelBF_Seq0015.npy?rlkey=2415vstljhbm2lmt1b06ytxfj&&dl=1"
link = "https://zenodo.org/records/13929568/files/Count00000_Point2C_ChannelBF_Seq0015.npy?download=1"

if path.exists() and not overwrite:
print(f"File {path} already exists. Skipping download.")
Expand Down

0 comments on commit 562b936

Please sign in to comment.