pull/13/merge
Oisín 2019-05-19 16:25:49 +00:00 committed by GitHub
commit 230f4af959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 9 deletions

View File

@ -18,7 +18,7 @@ import time
import numpy as np
import sklearn.metrics as skm
import sklearn.cross_validation as skcv
import sklearn.model_selection as skcv
from sympy import sympify
from datetime import datetime
@ -317,14 +317,8 @@ class Base_GP(object):
else: return 1
if pause == 0: # ENTER enables next step in generational, interactive, and debug display
while True:
try:
query = raw_input('\n\t\033[36m (pause) \033[0;0m')
if query not in ['']: raise ValueError()
else: break
except ValueError: print '\t\033[32m Select from the options given. Try again ...\033[0;0m'
except KeyboardInterrupt: print '\n\t\033[32m Enter q to quit\033[0;0m'
if menu_dict['input_a'] != 'esc': self.fx_karoo_pause(0)
else: pass
return 0