From fa5fd7d3cef8d6d04860174791bd6e18b1a5c298 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 11 May 2022 05:22:26 +0300 Subject: Tag string as a python f-string to fix error display bug --- scripts/qc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qc.py b/scripts/qc.py index 9937e5b..688147c 100644 --- a/scripts/qc.py +++ b/scripts/qc.py @@ -70,7 +70,7 @@ def main(): argparser = cli_argument_parser() args = argparser.parse_args() if not os.path.exists(args.filepath): - print("The file '{args.filepath}' does not exist.", file=sys.stderr) + print(f"The file '{args.filepath}' does not exist.", file=sys.stderr) return 1 if not os.path.exists(args.strainsfile): -- cgit v1.2.3