diff --git a/fastlib/script/fx-cleanup b/fastlib/script/fx-cleanup index ef1790f606..0a942a60d9 100755 --- a/fastlib/script/fx-cleanup +++ b/fastlib/script/fx-cleanup @@ -4,10 +4,10 @@ USAGE = """fx-cleanup: Shows a status summary of a FASTexec experiment. Example: - fx-status knn_k ./main # removes status files of failed trials - fx-status knn_k ./main --purge # removes entire directories of + fx-cleanup knn_k ./main # removes status files of failed trials + fx-cleanup knn_k ./main --purge # removes entire directories of failed trials - fx-status knn_k ./main --nuke # removes all directories of all trials + fx-cleanup knn_k ./main --nuke # removes all directories of all trials The point of fx-cleanup is to allow the re-running of trials. The normal use (with no special options) allows the re-running of trials diff --git a/fastlib/script/util.py b/fastlib/script/util.py index bb4715166b..8ff46a794e 100644 --- a/fastlib/script/util.py +++ b/fastlib/script/util.py @@ -227,7 +227,7 @@ def shellquote(s): if c in map.keys(): result += map[c] changed = True - elif c.isalnum() or c == '/': + elif c.isalnum() or c in "/._-": result += c else: result += c