Skip to content
Snippets Groups Projects
Commit f95d568a authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed warning in evaluation in dry-run mode

parent dd636293
No related branches found
No related tags found
No related merge requests found
...@@ -240,7 +240,6 @@ def main(command_line_parameters = None): ...@@ -240,7 +240,6 @@ def main(command_line_parameters = None):
# print the command so that it can easily be re-issued # print the command so that it can easily be re-issued
logger.info("Executing command:\n%s", bob.bio.base.tools.command_line(command)) logger.info("Executing command:\n%s", bob.bio.base.tools.command_line(command))
# import ipdb; ipdb.set_trace()
# run the command # run the command
if not args.dry_run: if not args.dry_run:
subprocess.call(command) subprocess.call(command)
...@@ -305,7 +304,7 @@ def main(command_line_parameters = None): ...@@ -305,7 +304,7 @@ def main(command_line_parameters = None):
result_zt_eval.append(os.path.join(ztnorm_sub_dir, 'scores-eval')) result_zt_eval.append(os.path.join(ztnorm_sub_dir, 'scores-eval'))
# check if we have found some results # check if we have found some results
if not result_dev: if not result_dev and not args.dry_run:
logger.warn("No result files were detected -- skipping evaluation.") logger.warn("No result files were detected -- skipping evaluation.")
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment