Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download cache files #2742

Open
VictorSeven opened this issue Jan 16, 2024 · 0 comments
Open

Unable to download cache files #2742

VictorSeven opened this issue Jan 16, 2024 · 0 comments
Labels

Comments

@VictorSeven
Copy link

Describe the bug
When I try to download the cache files as described in the Data Access Tutorial, I am unable to do so. In particular,

  1. probes.csv and sessions.csv would be downloaded without a problem, but the notebook cell continues to execute, apparently indefinitely until Ctrl+C
  2. channels.csv and units.csv would not even be downloaded.

I just saw issue #1696 and I think that it might be that they take an extraordinarily long time, but this is unreasonable and does not allow me to work with the files. Also, contrary to that issue, in my case, two files were not downloaded.

To Reproduce

I just installed the AllenSDK right now and used the following code (almost identical to the tutorial, linked above)

import os
import shutil
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from pathlib import Path

from allensdk.brain_observatory.ecephys.ecephys_project_cache import EcephysProjectCache

#new cell
data_dir = "./data"
manifest_path = os.path.join(data_dir, "manifest.json")
cache = EcephysProjectCache.from_warehouse(manifest=manifest_path) 

#new cell 
session = cache.get_session_table()
#or any other of the 4 functions

Expected behavior
I would expect the file to be downloaded and return the control to the notebook immediately.

Actual Behavior
Two files were downloaded, but control did not return. Another two files were not even downloaded.

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Python: 3.11
  • AllenSDK: 2.16.2

Additional context
I believe my problem is related or identical to #1696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant