Skip to content

extra "empy" column in participants.tsv of eyetracking_binocular: warning or error or nothing? #543

@Remi-Gau

Description

@Remi-Gau

see
https://github.com/bids-standard/bids-examples/blob/master/eyetracking_binocular/participants.tsv

more clear when loading

>>> import pandas as pd
>>> pd.read_c
pd.read_clipboard(  pd.read_csv(        
>>> df= pd.read_csv('/home/remi-gau/github/bids/matlab/tests/bids-examples/eyetracking_binocular/participants.tsv', sep='\t')
>>> df
  participant_id  Unnamed: 1
0         sub-01         NaN

pandas is fine the but the TSV parser used by bids-matlab did not like this and crashed miserably

not sure if the validator warns about this type of edge case in TSV or if it should

We can say this is a downstream issue and so I can make the bids-matlab TSV parser more robust (which I may do anyway) but if not it may require a fix in the bids-eexample repo

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