diff --git a/workflow/notebook/automlst-wrapper.rpy.ipynb b/workflow/notebook/automlst-wrapper.rpy.ipynb index 1833eb86..5d2e36dd 100644 --- a/workflow/notebook/automlst-wrapper.rpy.ipynb +++ b/workflow/notebook/automlst-wrapper.rpy.ipynb @@ -565,7 +565,7 @@ " df_antismash[\"complete_bgcs\"] = df_antismash[\"bgcs_count\"] - df_antismash[\"bgcs_on_contig_edge\"]\n", " \n", " # Select the 'complete_bgcs' and 'bgcs_on_contig_edge' columns and convert them to integers\n", - " df_antismash_completeness = df_antismash.loc[:, [\"complete_bgcs\", \"bgcs_on_contig_edge\"]].astype(int)\n", + " df_antismash_completeness = df_antismash.loc[:, [\"complete_bgcs\", \"bgcs_on_contig_edge\"]].fillna(0).astype(int)\n", " \n", " # Define the output file path\n", " outfile = Path(f\"assets/iTOL_annotation/iTOL_antismash_{antismash_version}_completeness.txt\")\n",