Skip to content

extra empty header/column in logfile #174

@CerenB

Description

@CerenB

Describe your problem in detail

I cannot pass the bids-validator with the logfile of visual motion localiser output.
Screenshot 2021-06-09 at 10 13 52

Describe what you got instead

Bids validator throws an error

Error message

File Path: All rows must have the same number of columns as there are headers.

	Type:		Error
	File:		sub-001_ses-001_task-auditoryLocalizer_run-001_events.tsv
	Location:		raw/sub-001/ses-001/func/sub-001_ses-001_task-auditoryLocalizer_run-001_events.tsv
	Reason:		All rows must have the same number of columns as there are headers.
	Line:		2
	Evidence:	row 1: 5.543655	1.200499	static	-1.000000	0.000000	0.000000	1.000000	1.000000	n/a	

	Type:		Error
	File:		sub-001_ses-001_task-visualLocalizer_run-001_events.tsv
	Location:		raw/sub-001/ses-001/func/sub-001_ses-001_task-visualLocalizer_run-001_events.tsv
	Reason:		All rows must have the same number of columns as there are headers.
	Line:		2
	Evidence:	row 1: 5.320559	1.217551	static	-1.000000	15.000000	0.000000	1.000000	1.000000	n/a	


======================================================


File Path: Empty cell in TSV file detected: The proper way of labeling missing values is "n/a".

	Type:		Error
	File:		sub-001_ses-001_task-auditoryLocalizer_run-001_events.tsv
	Location:		raw/sub-001/ses-001/func/sub-001_ses-001_task-auditoryLocalizer_run-001_events.tsv
	Reason:		Missing value at column # 10
	Line:		2
	Evidence:	row 1: 5.543655	1.200499	static	-1.000000	0.000000	0.000000	1.000000	1.000000	n/a	

	Type:		Error
	File:		sub-001_ses-001_task-visualLocalizer_run-001_events.tsv
	Location:		raw/sub-001/ses-001/func/sub-001_ses-001_task-visualLocalizer_run-001_events.tsv
	Reason:		Missing value at column # 10
	Line:		2
	Evidence:	row 1: 5.320559	1.217551	static	-1.000000	15.000000	0.000000	1.000000	1.000000	n/a	

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