Skip to content

Cannot find query.csv  #162

@JaerongA

Description

@JaerongA

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/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions