# HG changeset patch # User estrain # Date 1709082978 0 # Node ID 4f457838f4c99565d844667e45c0e65adef56b95 # Parent dc12d6ac296ddea982b32cd6af7f49128e99881e Fixed missing tab in MLST report diff -r dc12d6ac296d -r 4f457838f4c9 microrunqc/microrunqc.xml --- 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 @@ - + skesa diff -r dc12d6ac296d -r 4f457838f4c9 microrunqc/mlstAddFields.py --- 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))