Commit 150d860f authored by Hejing Li's avatar Hejing Li
Browse files

run.py: handle no filter arguments case

parent c33002ce
...@@ -100,7 +100,7 @@ if not args.pickled: ...@@ -100,7 +100,7 @@ if not args.pickled:
for e in experiments: for e in experiments:
# apply filter if any specified # apply filter if any specified
if len(args.filter) > 0: if (args.filter) and (len(args.filter) > 0):
match = False match = False
for f in args.filter: for f in args.filter:
if fnmatch.fnmatch(e.name, f): if fnmatch.fnmatch(e.name, f):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment