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

feature request: change raised error message when dealing with wrongly named .txt files #61

Open
toobiwankenobi opened this issue Oct 7, 2019 · 0 comments

Comments

@toobiwankenobi
Copy link

I had a typo in one of my acquisition .txt files names (iMC data) which led to the following error message:

Error in .local(x, y, ...) : Invalid barcode channel(s) specified.

Reference to the corresponding code:

if (any(!(bc_ms %in% ms)))
stop("Invalid barcode channel(s) specified.")

It took me quite some time (actually @votti found the causing error) on how to fix the issue. I think it would be more intuitive and therefore user-friendly to raise a more meaningful error (e.g. invalid metal name, check file names). I don't know if this also relates to sMC data but if yes, I think it would make sense to change the mentioned error message.

Thank you very much for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant