Skip to content

Commit

Permalink
process validation: allow tasks without outfilegrp
Browse files Browse the repository at this point in the history
Fixes OCR-D#295
  • Loading branch information
bertsky authored Aug 29, 2019
1 parent 9ac9056 commit 5eef289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocrd/ocrd/task_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def validate(self):
raise Exception("Parameter file not readable: %s" % self.parameter_path)
if not self.input_file_grps:
raise Exception("Task must have input file group")
if not self.output_file_grps:
raise Exception("Task must have output file group")
# if not self.output_file_grps:
# raise Exception("Task must have output file group")
if not which(self.executable):
raise Exception("Executable not found in PATH: %s" % self.executable)

Expand Down

0 comments on commit 5eef289

Please sign in to comment.