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

disallow multiple "calibration" operations #48

Open
jywarren opened this issue Jul 13, 2016 · 0 comments
Open

disallow multiple "calibration" operations #48

jywarren opened this issue Jul 13, 2016 · 0 comments

Comments

@jywarren
Copy link
Member

I've noticed that some people may add many redundant and overlapping operations to a spectrum, adding a great deal of overhead which has no analytical function, and which may cause extreme slowness -- for example multiple linearCalibration operations.

For example: https://spectralworkbench.org/spectrums/83225 seems to have over 1000 tags?

While https://spectralworkbench.org/spectrums/83251 has several redundant calibration tags.

I've tried to walk a fine line with /forbidding/ operations which don't make any sense (it's frustrating to have a program tell you not to do something!) but in this case I think we should throw an error rather than let the program run more than one stacked calibration -- it should say "remove the existing calibration to add a new one" or something.

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

No branches or pull requests

1 participant