diff --git a/docs/index.html b/docs/index.html index a939398..c8af3ac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3180,7 +3180,7 @@
-def pipe(self, assay: Assay, remove_calibrators: bool = True)
+def pipe(self, assay: Assay, remove_calibrators: bool = True, ignore_uncalibrated: bool = False)
A wrapper for calibrate / assign.
@@ -7055,12 +7081,20 @@remove_calibrators
: bool
ignore_uncalibrated
: bool
True
assays that could neither be newly calibrated nor be assigned an existing
+efficiency will be ignored. Otherwise, and error will be raised.def pipe( self, assay : Assay, remove_calibrators : bool = True ):
+def pipe( self, assay : Assay, remove_calibrators : bool = True, ignore_uncalibrated : bool = False ):
"""
A wrapper for calibrate / assign.
@@ -7075,6 +7109,14 @@ Parameters
remove_calibrators : bool
If calibrators are present in the assay alongside other groups,
remove the calibrator replicates after assignment or efficiency calculation.
+ ignore_uncalibrated : bool
+ If `True` assays that could neither be newly calibrated nor be assigned an existing
+ efficiency will be ignored. Otherwise, and error will be raised.
+
+ Returns
+ -------
+ assay : qpcr.Assay
+ The now calibrated `qpcr.Assay`.
"""
if self._eff_dict != {}:
# first try to assign (will leave the assay unchanged if nothing is found)
@@ -7085,13 +7127,18 @@ Parameters
try:
assay = self.calibrate( assay, remove_calibrators = remove_calibrators )
except:
- aw.HardWarning("Calibrator:cannot_process_assay", id = assay.id() )
+ if not ignore_uncalibrated:
+ aw.HardWarning("Calibrator:cannot_process_assay", id = assay.id() )
+ else:
+ aw.SoftWarning("Calibrator:cannot_process_assay", id = assay.id() )
else:
try:
assay = self.calibrate( assay, remove_calibrators = remove_calibrators )
except:
- aw.HardWarning("Calibrator:cannot_process_assay", id = assay.id() )
-
+ if not ignore_uncalibrated:
+ aw.HardWarning("Calibrator:cannot_process_assay", id = assay.id() )
+ else:
+ aw.SoftWarning("Calibrator:cannot_process_assay", id = assay.id() )
return assay