AdityaSavara / MSRESOLVE

MSRESOLVESG. A program for converting mass spectrometry signals to concentrations. Baseline corrections, smoothing, solving overlapping patterns, mass spectrometer tuning, and more.
0 stars 0 forks source link

collectedFileUncertainties should have UserInput validiation and vectorization #225

Open AdityaSavara opened 4 years ago

AdityaSavara commented 4 years ago

Has a few options. Can be a list: UserChoices['uncertainties']['collectedFileUncertainties'] = [1.37E-10,0,0,0,1.24E-10,2.01E-10,2.97E-10,3.73E-10,1.51E-10,5.52E-10,0,1.22E-14,1.03E-12,5.37E-11,3.39E-11,2.84E-10,0,3.63E-15,0,9.72E-15,0]

Can be the word "none", "auto", "file", or even an integer.

So user validation must check if it's a string, an integer, or a list. And if it's a list, check if the length is one to vectorize across all masses.