Skip to content

Commit

Permalink
Fixed bugs related to batch mode output files displaying only last sa…
Browse files Browse the repository at this point in the history
…mple results instead of results from All samples. Also added automatic clceaner for the main output files to prevent excesive file output growth especially of Blastn results
  • Loading branch information
kbessonov1984 committed Aug 1, 2024
1 parent 5d2da4d commit d70a025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ectyper/predictionFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def predict_serotype(blast_output_file, ectyper_dict, args):
# Make prediction for each genome based on blast output
for genome_name, per_genome_df in output_df.groupby('genome_name'):
predictions_dict[genome_name] = get_prediction(per_genome_df)
LOG.info(f"Serotype prediction successfully completed for {genome_name}")
LOG.info(f"Serotype prediction successfully completed for {genome_name}")
LOG.debug("Predictions dict:\n{}".format(predictions_dict))

return predictions_dict, output_df
Expand Down

0 comments on commit d70a025

Please sign in to comment.