Skip to content

Some metadata csv files don't get downloaded from EcephysProjectCachce.from_warehouse #2753

@jkbhagatio

Description

@jkbhagatio

Describe the bug
Following this tutorial, I get an error when getting to the cache.get_session_table() command:

from pathlib import Path

from allensdk.brain_observatory.ecephys.ecephys_project_cache import EcephysProjectCache


DOWNLOAD_COMPLETE_DATASET = True

out_dir = Path(r"C:\Users\jai\mini\data")
out_dir.mkdir(exist_ok=True)
print(f"{out_dir.exists()=}")

manifest_path = out_dir / "manifest.json"
cache = EcephysProjectCache.from_warehouse(manifest=manifest_path)
sessions = cache.get_session_table()

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\jai\mini\data\units.csv'

Upon checking my data directory, I see only probes.csv and sessions.csv have been downloaded, and units.csv and channels.csv are missing. I've tried re-running many times, and still these files do not get downloaded.

Environment (please complete the following information):

  • OS & version: Windows 10
  • Python version: 3.11
  • AllenSDK version: 2.16.2

Additional context
Add any other context about the problem here.

Do you want to work on this issue?
Are you willing and able to fix this bug? If so, let us know here (and see the guide). Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions