Skip to content

error for a non-GUID participant #41

@jungheejung

Description

@jungheejung
  • I'm sharing a subset of participants in my BIDS directory.
  • I have a GUIDMAPPING.txt, which as subject ids.
0002 - {corresponding_GUID}
0004 - {corresponding_GUID}
0116 - {corresponding_GUID}
0118 - {corresponding_GUID}
  • As you can see, I don't have a sub-0117. However, I get an error message for sub-0117.
  • How can I trouble shoot?
$ vim GUIDMAPPING.txt 
$ bids2nda ${BIDS_DIRECTORY} ${GUID_MAPPING} ${OUTPUT_DIRECTORY}
Traceback (most recent call last):
  File ".conda/envs/myenv/bin/bids2nda", line 8, in <module>
    sys.exit(main())
  File ".conda/envs/myenv/lib/python3.7/site-packages/bids2nda/main.py", line 419, in main
    run(args)
  File ".conda/envs/myenv/lib/python3.7/site-packages/bids2nda/main.py", line 172, in run
    dict_append(image03_dict, 'subjectkey', guid_mapping[bids_subject_id])
KeyError: '0117'

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