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

"Error: argument is of length zero" when optimized search parameters box is checked #4

Open
benjaminplace opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request MSMatch There's an issue with the MSMatch application.

Comments

@benjaminplace
Copy link
Member

In console, we get a warning:

Warning: Error in if: argument is of length zero
  97: renderUI [C:\Users\bjp\Documents\code_repository\R\dimspec\inst\apps\msmatch/server.R#754]
  96: func
  83: renderFunc
  82: output$search_compounds_match_top
   1: shiny::runApp

This is due to the optimized search parameters returning an MS2 with no mz/intensity values. Suggested fix is to make a check that, when it fails (no mz/int values), it gives a descriptive pop-up message that includes the potential remedy (uncheck optimized search parameters).

lengthzeroerror

@benjaminplace benjaminplace added enhancement New feature or request MSMatch There's an issue with the MSMatch application. labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request MSMatch There's an issue with the MSMatch application.
Projects
None yet
Development

No branches or pull requests

2 participants