Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

throw R-level errors for bad find_tags_motus command-line parameters #441

Open
jbrzusto opened this issue Mar 29, 2019 · 0 comments
Open
Assignees

Comments

@jbrzusto
Copy link
Owner

e.g. rerunning a receiver with an invalid param override should generate an error, but doesn't. This makes it look as if data were processed and didn't lead to any detections, even though the data simply were not processed at all.

Two places this should happen:

  • rerunReceiver.R and any other scripts
  • ltFindTags() and sgFindTags()

Need something like

sanityCheckParams = function(progName, paramList) {
## check names and ranges of parameters for a program
...
}

It might make more sense to have find_tags_motus do this with an additional parameter --sanity-check, so that all the information about parameters is in one place.

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

No branches or pull requests

1 participant