Skip to content
Permalink
Browse files

Adding validation of qPCR product parameters

  • Loading branch information...
tjakobi committed Apr 15, 2019
1 parent 5e74a60 commit 72fd96c5fa70b814413bff7d3ca5a34080f50448
Showing with 11 additions and 0 deletions.
  1. +11 −0 circtools/primex/primex.py
@@ -171,6 +171,17 @@ def run_module(self):
# exit with -1 error if we can't use it
exit(-1)

# let's first check if the temporary directory exists
if self.product_range and len(self.product_range) != 2:
print("Please specify a qPCR product range as range, e.g. \"-p 140 150\".")
# exit with -1 error if we can't use it
exit(-1)

if self.product_range[1] < self.product_range[0]:
print("qPCR product range has to be > 0.")
# exit with -1 error if we can't use it
exit(-1)

circ_rna_number = 0

# define temporary files

0 comments on commit 72fd96c

Please sign in to comment.
You can’t perform that action at this time.