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

MultiplePathsFoundWarning with RepFR1 session #244

Open
Riley16 opened this issue Nov 30, 2021 · 0 comments
Open

MultiplePathsFoundWarning with RepFR1 session #244

Riley16 opened this issue Nov 30, 2021 · 0 comments

Comments

@Riley16
Copy link
Contributor

Riley16 commented Nov 30, 2021

  • CML Data Readers version: 0.9.8
  • Python version: 3.7.11
  • Operating System: CentOS Linux release 7.9.2009

Description

I was trying to load a session of RepFR1 data on Rhino (subject R1204T, experiment RepFR1, session 0).

I received a MultiplePathsFoundWarning and a message that the first file found would be loaded and wasn't sure whether this warning indicates invalid data or which file was supposed to be returned for the session data. I expected the data to be loaded without a scary warning (as I believe it had been loaded on Jupyter).

Commands:

    from cmlreaders import CMLReader, get_data_index
    rd = row._asdict() # this takes df and takes values from 1 row as a dict
    return CMLReader(rd['subject'], rd['experiment'], rd['session'], \
                     montage=rd['montage'], localization=rd['localization'])

Output:

  /home1/rdehaan/.conda/envs/eeg/lib/python3.7/site-packages/cmlreaders/path_finder.py:239: MultiplePathsFoundWarning: Multiple files found: /protocols/r1/subjects/R1204T/experiments/RepFR1/sessions/0/ephys/current_processed/sources.json
  /data/eeg/R1204T/eeg.noreref/params.txt returning the first file found
    warnings.warn(msg, MultiplePathsFoundWarning)

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

No branches or pull requests

1 participant