changeset 25:4f457838f4c9 draft default tip

Fixed missing tab in MLST report
author estrain
date Wed, 28 Feb 2024 01:16:18 +0000
parents dc12d6ac296d
children
files microrunqc/microrunqc.xml microrunqc/mlstAddFields.py
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/microrunqc/microrunqc.xml	Fri Feb 02 15:16:46 2024 +0000
+++ b/microrunqc/microrunqc.xml	Wed Feb 28 01:16:18 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="microrunqc" name="microrunqc" version="1.0.3">
+<tool id="microrunqc" name="microrunqc" version="1.0.4">
 
   <requirements>
     <requirement type="package" version="2.4.0">skesa</requirement>
--- a/microrunqc/mlstAddFields.py	Fri Feb 02 15:16:46 2024 +0000
+++ b/microrunqc/mlstAddFields.py	Wed Feb 28 01:16:18 2024 +0000
@@ -21,7 +21,7 @@
     if schema == "-":
         print("\t".join(mlstout))
         return 
-
+        
     if db_path is None:
         # If no database path is provided, find it using an external command
         # This requires the 'mlst' command to be installed and available in the path
@@ -62,6 +62,8 @@
     output = mlstout[:3]
     if mlstST in schema_dict:
         output.append(schema_dict[mlstST])
+    else:
+        output.append("-")
     output.extend(mlstout[3:])
 
     print("\t".join(output))