Skip to content

Commit 05fdd71

Browse files
committed
Bugfix to models 1, 2, and 3 (lots of "None" may be printed in summary).
1 parent 74a9f7d commit 05fdd71

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

pyprocessmacro/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
__all__ = ["Process"]
88

9-
__version__ = "1.0.8"
9+
__version__ = "1.0.9"

pyprocessmacro/process.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,11 +1363,12 @@ def summary(self):
13631363
print(
13641364
"\n-------------------------------------------------------------------------\n"
13651365
)
1366-
for med_model in m_models:
1367-
print(med_model)
1368-
print(
1369-
"\n-------------------------------------------------------------------------\n"
1370-
)
1366+
if self.model_num > 3:
1367+
for med_model in m_models:
1368+
print(med_model)
1369+
print(
1370+
"\n-------------------------------------------------------------------------\n"
1371+
)
13711372
if self.indirect_model:
13721373
print(
13731374
"\n********************** DIRECT AND INDIRECT EFFECTS **********************\n"

0 commit comments

Comments
 (0)