Commit b0bdb3e5 authored by letournd's avatar letournd
Browse files

19.04.2022 / v5.16 / Removing taskindex after trendfinder is finished (so...

19.04.2022 / v5.16 / Removing taskindex after trendfinder is finished (so removing from basecalculator and duplicateremoval steps)
parent 2d26ca6a
......@@ -2268,7 +2268,6 @@ def trendfinder(set_progress, submit_n_clicks, userid, n_clicks, rawdatain, smin
resultsclean = [result['data'] for result in resultsflat1 if result['data']]
resultsflat2 = [item for sublist in resultsclean for item in sublist]
# Format of result (list of lists): [[rawindices], unit, base], unit & base have no nominal mass yet
gv.printresults(resultsflat2, "resultsflat2")
tempseriesindex = 0
series = []
......@@ -2301,7 +2300,6 @@ def trendfinder(set_progress, submit_n_clicks, userid, n_clicks, rawdatain, smin
# NOTE: From this point on, all units and bases have nominal masses, and therefore appear as a LIST of two items
# seriesnoduplicates format (list of lists): [tempseriesindex, [rawindices], unit, base, R2, slope]
seriesnoduplicates = drdataout['data']
gv.printresults(isinstance(seriesnoduplicates[0][1], list), 'whatisit')
# Now we compile the final output dataframe and assign final series indices. The list comprehension here is crucial!
# drlistout format: [seriesindex, rawindex, m/z, I, unit NM, unit AM, base NM, base AM, R2 value, slope, color]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment