nih-cfde / submission-workflow

0 stars 0 forks source link

Unhelpful schema error when tables have bad headers #71

Closed ACharbonneau closed 3 years ago

ACharbonneau commented 3 years ago

This data package, when they try to submit it says:

cfde-submit run wgs-published-0186092a96f773bafb62721eb4399c6b
Please enter the CFDE identifier for your Data Coordinating Center: cfde_registry_dcc:hubmap
Thank you. Would you like to save hubmap for future submissions? (y/n)? > y
Submit datapackage 'wgs-published-0186092a96f773bafb62721eb4399c6b' using hubmap? (y/n)? > y
TableSchema invalid due to the following errors: 

and that’s literally it

wgs-published-0186092a96f773bafb62721eb4399c6b_95d5a1712db389808d81d8b55c19b521efd4906f.zip

I ran frictionless locally and got this error report. TLDR: the headers were misspelled and a couple were missing

hubmaperrorreport.txt

So it should have errored, but it needs to give the user some indication what the problem is

ACharbonneau commented 3 years ago

I'm not sure if this is the same problem or not, but I think it is: https://github.com/nih-cfde/published-documentation/discussions/184#discussioncomment-518999