def test_change_strip_fraction_if_no_strip_comp(self):
     experim2 = make_sample_experiment2()
     load = experim2.method.load.solutions[0]
     old_val = load.product_component_assay_values[-1]
     experim2.strip_mass_fraction = UnitScalar(2, units="%")
     self.assertAlmostEqual(load.product_component_assay_values[-1],
                            old_val)
 def setUp(self):
     fname = "PROD001_Example_Pulse_Injection_Study.xlsx"
     folder = join(dirname(kromatography.__file__), "data", "tutorial_data")
     fpath = join(folder, fname)
     pulse_study = load_study_from_excel(fpath, allow_gui=False)
     self.exp = pulse_study.search_experiment_by_name("Run_1")
     # Multi-component product experiment
     self.exp2 = make_sample_experiment2()
    def setUpClass(cls):
        folder = join(dirname(kromatography.__file__), "data", "tutorial_data")
        cls.pulse_akta = join(folder, "47cm_hr.asc")
        # Originally stored in PROD001_Example_Pulse_Injection_Study.xlsx
        fname = io_data_path("prod1_pulse_run2_experiment.chrom")
        cls.exp = load_object(fname)[0]

        # Multi-component product experiment
        cls.exp2 = make_sample_experiment2()
예제 #4
0
 def setUp(self):
     self.exp = make_sample_experiment()
     self.exp2 = make_sample_experiment2()
 def setUp(self):
     self.experim = make_sample_experiment2()
     self.load_time = 58.0335760148217
     self.strip_time = 309.155309348155