We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42fb562 commit e5e917cCopy full SHA for e5e917c
commands/DEA_contacts.py
@@ -11,18 +11,10 @@
11
def RunCommand():
12
session = Session()
13
14
- # retrieve existing model from session
15
-
16
model: BlockModel = session["blockmodel"]
17
if model is None:
18
- return warn("No existing BlockModel in session. Please create one first.")
19
20
- # compute contacts
21
- # ask user for tolerance
22
23
- model.compute_contacts(tolerance=tol)
24
25
- # redraw the scene
+ warn("No block model in the session.")
+ return
26
27
28
# =============================================================================
0 commit comments