aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-04-07 11:09:31 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2014-04-07 11:09:31 -0400
commit29ab041cb474852f748701aedc800b776bdc81c6 (patch)
tree710fbd129796b7c28c281dab294eb5f3899776ad
parentec87d3bd6909fb71c0bc14d444e1800d52d48d09 (diff)
wait on exit
-rwxr-xr-xSelectiveGenomeAmplificationUI9
1 files changed, 8 insertions, 1 deletions
diff --git a/SelectiveGenomeAmplificationUI b/SelectiveGenomeAmplificationUI
index 4455a02..98021a9 100755
--- a/SelectiveGenomeAmplificationUI
+++ b/SelectiveGenomeAmplificationUI
@@ -95,11 +95,18 @@ def variables_to_string(variables):
def run(variables_as_a_string):
import subprocess
- subprocess.check_call(variables_as_a_string + " " + "SelectiveGenomeAmplification " + foreground + " " + background, shell=True)
+ try:
+ subprocess.check_call(variables_as_a_string + " " + "SelectiveGenomeAmplification " + foreground + " " + background, shell=True)
+ except:
+ pass
+
if(bool_ask("would you like to input all your variables at once?", "n")):
variables = raw_input("Please paste in your variables (space delimited) and Run:")
run(variables)
+
+ raw_input("Press Enter to exit...")
+
else:
for q in questions:
if 'bool' in q: