Example #1
0
        public void addQuantificationMod(AssayQuantificationMod mod)
        {
            if (mod == null){
                throw new Exception("AssayQuantificationMod should not be null");
            }

            quantificationModMap.Add(mod.Id, mod);
        }
Example #2
0
 public void addQuantificationModPosition(int id, string position)
 {
     AssayQuantificationMod mod = quantificationModMap[id];
     if (mod == null){
         mod = new AssayQuantificationMod(this, id);
         mod.Position = position;
         quantificationModMap.Add(id, mod);
     }
     else{
         mod.Position = (position);
     }
 }
Example #3
0
 public void addQuantificationModParam(int id, Param param)
 {
     AssayQuantificationMod mod = null;
     if (quantificationModMap.ContainsKey(id)){
         mod = quantificationModMap[id];
     }
     if (mod == null){
         mod = new AssayQuantificationMod(this, id){Param = param};
         quantificationModMap.Add(id, mod);
     }
     else{
         mod.Param = param;
     }
 }
Example #4
0
 public void addQuantificationModSite(int id, string site)
 {
     AssayQuantificationMod mod = quantificationModMap[id];
     if (mod == null){
         mod = new AssayQuantificationMod(this, id);
         mod.Site = site;
         quantificationModMap.Add(id, mod);
     }
     else{
         mod.Site = site;
     }
 }