Skip to content

Commit f02b9c4

Browse files
committed
Delay import of OPS (improves speed)
1 parent a629e66 commit f02b9c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paths_cli/parameters.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import click
2-
import openpathsampling as paths
2+
# import openpathsampling as paths
33

44
class AbstractParameter(object):
55
def __init__(self, *args, **kwargs):
@@ -41,6 +41,7 @@ def __init__(self, param, mode):
4141
self.mode = mode
4242

4343
def get(self, name):
44+
import openpathsampling as paths
4445
return paths.Storage(name, mode=self.mode)
4546

4647

0 commit comments

Comments
 (0)