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

Cannot find query.csv #162

Open
JaerongA opened this issue Mar 15, 2023 · 0 comments
Open

Cannot find query.csv #162

JaerongA opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JaerongA
Copy link
Collaborator

Bug Report

Description

In 07-downstream-analysis.ipynb, running the cell with from workflow_array_ephys.localization import coordinate_framework as ccf yields the following error.

Error stack

FileNotFoundError                         Traceback (most recent call last)
Cell In[4], line 1
----> 1 from workflow_array_ephys.localization import coordinate_framework as ccf

File [c:\Users\jaero\Desktop\workflow-array-ephys\workflow_array_ephys\localization.py:52](file:///C:/Users/jaero/Desktop/workflow-array-ephys/workflow_array_ephys/localization.py:52)
     45 electrode_localization.activate(
     46     db_prefix + "electrode_localization", db_prefix + "ccf", linking_module=__name__
     47 )
     49 nrrd_filepath = find_full_path(
     50     get_ephys_root_data_dir(), f"annotation_{voxel_resolution}.nrrd"
     51 )
---> 52 ontology_csv_filepath = find_full_path(get_ephys_root_data_dir(), "query.csv")
     54 if (
     55     not (coordinate_framework.CCF & {"ccf_id": ccf_id})
     56     and nrrd_filepath.exists()
     57     and ontology_csv_filepath.exists()
     58 ):
     59     coordinate_framework.load_ccf_annotation(
     60         ccf_id=ccf_id,
     61         version_name="ccf_2017",
   (...)
     64         ontology_csv_filepath=ontology_csv_filepath,
     65     )
...
     43     "No valid full-path found (from {})"
     44     " for {}".format(root_directories, relative_path)
     45 )

FileNotFoundError: No valid full-path found (from [WindowsPath('[C:/Users/jaero/Desktop/Data/workflow_array_ephys](file:///C:/Users/jaero/Desktop/Data/workflow_array_ephys)')]) for query.csv

Additional Research and Context

Add any additional research or context that was conducted in creating this report.

It expects query.csv, which is not present in the link provided (http://download.alleninstitute.org/informatics-archive/current-release/mouse_ccf/annotation/ccf_2017/)

@JaerongA JaerongA added the bug Something isn't working label Mar 15, 2023
@kabilar kabilar transferred this issue from datajoint/workflow-array-ephys Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants