Skip to content

Commit a85118f

Browse files
committed
more cleanup of unused
1 parent a9c4d96 commit a85118f

2 files changed

Lines changed: 0 additions & 33 deletions

File tree

‎paths_cli/wizard/cvs.py‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff 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-
175154
SUPPORTED_CVS = {}
176155

177156
if HAS_MDTRAJ:

‎paths_cli/wizard/tps.py‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,6 @@
33
from paths_cli.wizard.shooting import shooting
44
from 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-
186
def tps_scheme(wizard, network=None):
197
import openpathsampling as paths
208
from openpathsampling import strategies

0 commit comments

Comments
 (0)