Skip to content

MultiplePathsFoundWarning with RepFR1 session #244

@Riley16

Description

@Riley16
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions