Skip to content

Commit e5e917c

Browse files
committed
remove unused content
1 parent 42fb562 commit e5e917c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

commands/DEA_contacts.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,10 @@
1111
def RunCommand():
1212
session = Session()
1313

14-
# retrieve existing model from session
15-
1614
model: BlockModel = session["blockmodel"]
1715
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
16+
warn("No block model in the session.")
17+
return
2618

2719

2820
# =============================================================================

0 commit comments

Comments
 (0)