Пример #1
0
 protected bool IsGlycanMatch(ITableNGlycan glycan, ITableNGlycan parent)
 {
     if (glycan.GetNGlycanType() != parent.GetNGlycanType())
     {
         return(false);
     }
     int[] s1 = glycan.GetNGlycanTable();
     int[] s2 = parent.GetNGlycanTable();
     for (int i = 0; i < s1.Length; i++)
     {
         if (s1[i] > s2[i])
         {
             return(false);
         }
     }
     return(true);
 }
 public GlycanType GetNGlycanType()
 {
     return(glycan.GetNGlycanType());
 }