neurobagel / digest

Web dashboard for neuroimaging-derived and phenotypic datasets
https://digest.neurobagel.org
MIT License
2 stars 3 forks source link

Add check for .csv ending files that appear tab-separated #147

Open alyssadai opened 6 months ago

alyssadai commented 6 months ago

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

github-actions[bot] commented 3 months ago

We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days. We have applied the _flag:stale label to indicate that this issue should be reviewed again. When you review, please reread the spec and then apply one of these three options: