diff --git a/src/projects/spades/pipeline/spades_pipeline/support.py b/src/projects/spades/pipeline/spades_pipeline/support.py index 0d5c4e38d..341a9fd14 100644 --- a/src/projects/spades/pipeline/spades_pipeline/support.py +++ b/src/projects/spades/pipeline/spades_pipeline/support.py @@ -485,7 +485,7 @@ def atoi(text): return text def natural_keys(text): - return [atoi(c) for c in re.split("(\d+)", text)] + return [atoi(c) for c in re.split("(\\d+)", text)] latest_dir = None for dir_to_test in sorted(glob.glob(pattern), key=natural_keys, reverse=True):