Skip to content

Commit

Permalink
Merge pull request #205 from RoanKanninga/master
Browse files Browse the repository at this point in the history
Bugfix in checkSamplesheet.
  • Loading branch information
pneerincx authored Sep 26, 2018
2 parents c1278d6 + 958aa26 commit 5d94fa6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions checkSamplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@
listOfErrors.append('ERROR on line ' + str(number) + ': Variable ' + columnName + ' is empty! Please fill in "None" (to make sure it is not missing).')
else:
listOfErrors.append('ERROR on line ' + str(number) + ': Variable ' + columnName + ' is empty!')

if not sanityCheckOk:
print('\n'.join(listOfErrors))
w.write('\n'.join(listOfErrors))
w.close()
sys.exit(1)
#
# Check if the data inside the file matches the expected filename.
#
Expand Down

0 comments on commit 5d94fa6

Please sign in to comment.