|
|
|
@ -99,22 +99,15 @@ public class TestRecordSampleDataVO { |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public BigDecimal getIonAbundanceRatioError() { |
|
|
|
|
return expandList.get(1).getIonAbundanceRatioError(); |
|
|
|
|
return expandList != null && expandList.size() > 1 ? expandList.get(1).getIonAbundanceRatioError() : null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 该getter方法因为生物样本的丰度比只有一个,为前端显示而添加 |
|
|
|
|
* |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public BigDecimal getIonAbundanceRatio() { |
|
|
|
|
return expandList.get(1).getIonAbundanceRatio(); |
|
|
|
|
return expandList != null && expandList.size() > 1 ? expandList.get(1).getIonAbundanceRatio() : null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 离子丰度比偏差是否在误差范围内 |
|
|
|
|
*/ |
|
|
|
|
public String getIonAbundanceRatioWithinError() { |
|
|
|
|
return expandList.get(1).getIonAbundanceRatioWithinError(); |
|
|
|
|
return expandList != null && expandList.size() > 1 ? expandList.get(1).getIonAbundanceRatioWithinError() : null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|