flowcraft/templates/process_abricate.py
def write_report_data(self):
        """Writes the JSON report to a json file
        """

        json_plot = self.get_plot_data()
        json_table = self.get_table_data()

        json_dic = {**json_plot, **json_table}

        with open(".report.json", "w") as json_report:
            json_report.write(json.dumps(json_dic, separators=(",", ":")))
def write_report_data(self):
        json_plot = self.get_plot_data()
        json_table = self.get_table_data()

        json_dic = {**json_plot, **json_table}

        with open(".report.json", "w") as json_report:
            json_report.write(json.dumps(json_dic, separators=(",", ":")))
def write_report_data ( self ) : json_plot = self . get_plot_data ( ) json_table = self . get_table_data ( ) json_dic = { * * json_plot , * * json_table } with open ( ".report.json" , "w" ) as json_report : json_report . write ( json . dumps ( json_dic , separators = ( "," , ":" ) ) )
Writes the JSON report to a json file
Writes the JSON report to a json file