Esempio n. 1
0
        public override void SetAnnotation(AnnotationDef annotationDef, object value)
        {
            // Ignore setting of the old q value and mProphet score annoations. They are
            // displayed for backward compatibility. Setting them manually never made and sense.
            if (Equals(annotationDef.Name, MProphetResultsHandler.AnnotationName) ||
                Equals(annotationDef.Name, MProphetResultsHandler.MAnnotationName))
            {
                return;
            }

            ChangeChromInfo(EditDescription.SetAnnotation(annotationDef, value),
                            chromInfo => chromInfo.ChangeAnnotations(chromInfo.Annotations.ChangeAnnotation(annotationDef, value)));
        }
Esempio n. 2
0
 public override void SetAnnotation(AnnotationDef annotationDef, object value)
 {
     ChangeChromInfo(EditDescription.SetAnnotation(annotationDef, value),
                     chromInfo => chromInfo.ChangeAnnotations(chromInfo.Annotations.ChangeAnnotation(annotationDef, value)));
 }
Esempio n. 3
0
 public override void SetAnnotation(AnnotationDef annotationDef, object value)
 {
     ChangeChromatogramSet(EditDescription.SetAnnotation(annotationDef, value),
                           ChromatogramSet.ChangeAnnotations(ChromatogramSet.Annotations.ChangeAnnotation(annotationDef, value)));
 }