Skip to content

Commit 8cd52f8

Browse files
committed
cmp - silence output
1 parent 1e1c06d commit 8cd52f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openbim/csi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def create_model(csi, types=None, verbose=False):
143143
ndf = sum(1 for v in csi["ACTIVE DEGREES OF FREEDOM"][0].values())
144144
ndm = sum(1 for k,v in csi["ACTIVE DEGREES OF FREEDOM"][0].items()
145145
if k[0] == "U")
146-
if verbose:
146+
if isinstance(verbose, int) and verbose > 3:
147147
import sys
148148
echo_file = sys.stdout
149149
else:

0 commit comments

Comments
 (0)