From e4574f99959ebc7334c043655f36b245f7858f2f Mon Sep 17 00:00:00 2001 From: Matin Nuhamunada Date: Fri, 23 Jun 2023 07:20:49 +0000 Subject: [PATCH] fix: handle missing custom gtdb taxonomy index --- workflow/rules/common.smk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/rules/common.smk b/workflow/rules/common.smk index 5ffc5e31..ccc845ca 100644 --- a/workflow/rules/common.smk +++ b/workflow/rules/common.smk @@ -8,7 +8,7 @@ from pathlib import Path import peppy min_version("7.14.0") -__version__ = "0.6.1" +__version__ = "0.6.4" container: "docker://matinnu/bgcflow:latest" @@ -372,7 +372,7 @@ def extract_project_information(config, project_variable="projects"): for i in df_sample.index: if i in df_gtdb.index: - df_sample.loc[i, "classification"] = df_gtdb.loc[i, "classification"] + df_sample.loc[i, "classification"] = str(df_gtdb.loc[i, "classification"]) df_sample.loc[i, "classification_source"] = "user_provided" elif not pd.isnull(df_sample.loc[i, "closest_placement_reference"]): df_sample.loc[i, "classification"] = df_sample.loc[