Clean Code
This commit is contained in:
2
run.py
2
run.py
@@ -216,6 +216,8 @@ def get_unfinished(action_space, use_model, observation_type, result_dir, total_
|
||||
domain_path = os.path.join(target_dir, domain)
|
||||
if os.path.isdir(domain_path):
|
||||
for example_id in os.listdir(domain_path):
|
||||
if example_id == "onboard":
|
||||
continue
|
||||
example_path = os.path.join(domain_path, example_id)
|
||||
if os.path.isdir(example_path):
|
||||
if "result.txt" not in os.listdir(example_path):
|
||||
|
||||
Reference in New Issue
Block a user