openlab cds 2.5 custom calculation and intelligent report

Hello,

Hello,

How to get the version number of the acquisition sequence used for the analyses on an analysis report?

Is the report template for printing (sequence.rdlc) modifiable because the layout is not adapted to our needs?

 

Why does this formula work

 

 CurrentSequence.AllPeaksAndGroupsbyname("PA").Where(function (x) x.Injection.Sample.Sample_Type = 3) .Where(function (x) x.Injection.GetStringCC("Nomslots") = CurrentInjection.GetStringCC("Nomslots")).Where(function (x) x.Compound_Name = CurrentPeakOrGroup.Compound_Name).Select(function(x) x.GetDoubleCC("pourcenttheorieUT10")) .Average()

and not this one?

CurrentSequence.AllPeaksAndGroupsbyname("PA").Where(function (x) x.Injection.Sample.Sample_Type = 3) .Where(function (x) x.Injection.GetStringCC("Nomslots") = CurrentInjection.GetStringCC("Nomslots")).Where(function (x) x.Compound_Name = CurrentPeakOrGroup.Compound_Name).Select(function(x) x.GetDoubleCC("pourcenttheorieUT10")) .STDDEV()

 

thank you for your help

syb

Parents
  • Hello,

    I am not absolutely sure but my guess is the Linq language has no built in function for that operation. You need to change the syntax to something like the expression below. You remove the select function and add the value and function to the start of the statement. 

    StdDev("PeakAreaCorr",CurrentSequence.AllIdentifiedPeaks.Where(function (x) x.Compound_Name = CurrentPeakOrGroup.Compound_Name))

Reply
  • Hello,

    I am not absolutely sure but my guess is the Linq language has no built in function for that operation. You need to change the syntax to something like the expression below. You remove the select function and add the value and function to the start of the statement. 

    StdDev("PeakAreaCorr",CurrentSequence.AllIdentifiedPeaks.Where(function (x) x.Compound_Name = CurrentPeakOrGroup.Compound_Name))

Children
Was this helpful?