def build_qa(self): """ Generate QA wrappers """ # TODO: pass qa path qa.gen_mf_html(self.pypeit_file) qa.gen_exp_html()
def main(args, unit_test=False, path=''): """Builds the HTML files. Args: args (`argparse.Namespace`_): Parsed command-line arguments unit_test (:obj:`bool`, optional): Method being executed for a unit test path (:obj:`str`, optional): Mainly for running the unit test """ from pypeit.core import qa # Flags flg_MF, flg_exp = False, False if args.type == 'MF': flg_MF = True elif args.type == 'exp': flg_exp = True elif args.type == 'all': flg_exp, flg_MF = True, True # Master Frame if flg_MF: qa.gen_mf_html(args.pypeit_file, args.qapath) # Exposures if flg_exp: qa.gen_exp_html()
def build_qa(self): """ Generate QA wrappers """ msgs.qa_path = self.qa_path qa.gen_qa_dir(self.qa_path) qa.gen_mf_html(self.pypeit_file, self.qa_path) qa.gen_exp_html()
def main(args, unit_test=False, path=''): """ Builds the HTML files path : str, optional Mainly for running the unit test """ from pypeit.core import qa # Flags flg_MF, flg_exp = False, False if args.type == 'MF': flg_MF = True elif args.type == 'exp': flg_exp = True elif args.type == 'all': flg_exp, flg_MF = True, True # Master Frame if flg_MF: qa.gen_mf_html(args.pypeit_file) # Exposures if flg_exp: qa.gen_exp_html()
def build_qa(self): """ Generate QA wrappers """ qa.gen_mf_html(self.pypeit_file) qa.gen_exp_html()