def _save_detector_ic_csv(self): from pychron.experiment.utilities.detector_ic import make_items, save_csv from pychron.experiment.utilities.identifier import get_analysis_type if get_analysis_type(self.per_spec.run_spec.identifier) == 'detector_ic': items = make_items(self.per_spec.isotope_group.isotopes) save_csv(self.per_spec.run_spec.record_id, items)
def _save_detector_ic_csv(self): from pychron.experiment.utilities.detector_ic import make_items, save_csv from pychron.experiment.utilities.identifier import get_analysis_type if get_analysis_type(self.per_spec.run_spec.identifier) == DETECTOR_IC: items = make_items(self.per_spec.isotope_group.isotopes) save_csv(self.per_spec.run_spec.record_id, items)
def _export_button_fired(self): from pychron.experiment.utilities.detector_ic import save_csv save_csv(self.record_id, self.items)