Example #1
0
    def _get_run_details(self, run_number_string):
        run_number_string_key = self._generate_run_details_fingerprint(run_number_string,
                                                                       self._inst_settings.file_extension,
                                                                       self._inst_settings.tt_mode)
        if run_number_string_key in self._cached_run_details:
            return self._cached_run_details[run_number_string_key]

        self._cached_run_details[run_number_string_key] = pearl_algs.get_run_details(
            run_number_string=run_number_string, inst_settings=self._inst_settings, is_vanadium_run=self._is_vanadium)
        return self._cached_run_details[run_number_string_key]
Example #2
0
    def _get_run_details(self, run_number_string):
        run_number_string_key = self._generate_run_details_fingerprint(run_number_string,
                                                                       self._inst_settings.file_extension,
                                                                       self._inst_settings.tt_mode)
        if run_number_string_key in self._cached_run_details:
            return self._cached_run_details[run_number_string_key]

        self._cached_run_details[run_number_string_key] = pearl_algs.get_run_details(
            run_number_string=run_number_string, inst_settings=self._inst_settings, is_vanadium_run=self._is_vanadium)
        return self._cached_run_details[run_number_string_key]
Example #3
0
    def _get_run_details(self, run_number_string):
        tt_mode_string = self._inst_settings.tt_mode
        if self._inst_settings.tt_mode == "custom":
            grouping_file_name = pearl_algs._pearl_get_tt_grouping_file_name(
                self._inst_settings)
            tt_mode_string += os.path.splitext(
                os.path.basename(grouping_file_name))[0]
        run_number_string_key = self._generate_run_details_fingerprint(
            run_number_string, self._inst_settings.file_extension,
            tt_mode_string, self._inst_settings.long_mode)
        if run_number_string_key in self._cached_run_details:
            return self._cached_run_details[run_number_string_key]

        self._cached_run_details[
            run_number_string_key] = pearl_algs.get_run_details(
                run_number_string=run_number_string,
                inst_settings=self._inst_settings,
                is_vanadium_run=self._is_vanadium)
        return self._cached_run_details[run_number_string_key]