Add check for .csv ending files that appear tab-separated #147
Labels
_flag:stale
[BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged again
usability
Issue affecting user or developer experience.
The current error message when this happens states that expected columns are missing, which is a bit misleading / confusing. We can try to catch and let the user know when the file ending and file separator appear incongruous.
Can borrow code from:
https://github.com/neurobagel/bagel-cli/blob/16cf4b7860a2047c32116d280e5b6493a9be8d9a/bagel/pheno_utils.py#L42-L70
The text was updated successfully, but these errors were encountered: