Skip to content

Commit

Permalink
small changes in python script
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanKanninga committed Sep 26, 2018
1 parent 7decf2c commit 958aa26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions checkSamplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@
else:
listOfErrors.append('ERROR on line ' + str(number) + ': Variable ' + columnName + ' is empty!')

if sanityCheckOk:
w.write("OK")
else:
if not sanityCheckOk:
print('\n'.join(listOfErrors))
w.write('\n'.join(listOfErrors))
w.close()
Expand Down

0 comments on commit 958aa26

Please sign in to comment.