File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,27 +151,6 @@ def coordinate(wizard):
151151 return cv
152152
153153
154- def _get_period (wizard ):
155- # to be used in custom CVs ... or maybe just in the file CV itself?
156- is_periodic = period_min = period_max = None
157- while is_periodic is None :
158- is_periodic_char = wizard .ask ("Is this CV periodic?" ,
159- options = ["[Y]es" , "[N]o" ])
160- is_periodic = {'y' : True , 'n' : False }[is_periodic_char ]
161-
162- if is_periodic :
163- while period_min is None :
164- period_min = wizard .ask_custom_eval (
165- "What is the lower bound of the period?"
166- )
167- while period_max is None :
168- period_max = wizard .ask_custom_eval (
169- "What is the upper bound of the period?"
170- )
171- return period_min , period_max
172-
173-
174-
175154SUPPORTED_CVS = {}
176155
177156if HAS_MDTRAJ :
Original file line number Diff line number Diff line change 33from paths_cli .wizard .shooting import shooting
44from functools import partial
55
6- def _get_network (wizard ):
7- if len (wizard .networks ) == 0 :
8- network = tps_network (wizard )
9- elif len (wizard .networks ) == 1 :
10- network = list (wizard .networks .values ())[0 ]
11- else :
12- networks = list (wizard .networks .keys ())
13- sel = wizard .ask_enumerate ("Which network would you like to use?" ,
14- options = networks )
15- network = wizard .networks [sel ]
16- return network
17-
186def tps_scheme (wizard , network = None ):
197 import openpathsampling as paths
208 from openpathsampling import strategies
You can’t perform that action at this time.
0 commit comments