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

Failed to load participants info due to: 'float' object has no attribute 'lower' #31

Closed
yarikoptic opened this issue May 25, 2018 · 0 comments

Comments

@yarikoptic
Copy link
Member

might be a non-issue - just want to record before I forget

[INFO   ] Aggregate metadata for dataset /mnt/btrfs/datasets-meta6-6/datalad/crawl/openfmri/ds000017
Metadata extraction: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5.00/5.00 [01:29<00:00, 24.5s/ extractors][WARNING] Failed to load participants info due to: 'float' object has no attribute 'lower' [bids.py:yield_participant_info:202]. Skipping the rest of file    

whenever file seems to be kosher

$> cat /mnt/btrfs/datasets-meta6-6/datalad/crawl/openfmri/ds000017/participants.tsv
participant_id  sex     age
sub-1   n/a     n/a
sub-2   M       44
sub-3   n/a     n/a
sub-4   M       49
sub-5   F       49
sub-6   M       25
sub-7   n/a     n/a
sub-8   M       50
mih added a commit to mih/datalad-neuroimaging that referenced this issue Aug 4, 2018
E.g. 'n/a' gets converted by pandas to NaN.
@mih mih closed this as completed in a96e0bf Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants