Skip to content

Commit 4fdce16

Browse files
committed
Fix formatting to add whitespaces in output for deps missing.
1 parent db21631 commit 4fdce16

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyspi/calculator.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __init__(
9595
for dep in missing_deps:
9696
print(f"- {dep}")
9797

98-
print(f"\nAs a result, a total of {len(self._excluded_spis)} SPI(s) have been excluded:")
98+
print(f"\nAs a result, a total of {len(self._excluded_spis)} SPI(s) have been excluded:\n")
9999

100100
dependency_groups = {}
101101
for spi in self._excluded_spis:
@@ -105,17 +105,17 @@ def __init__(
105105
dependency_groups[dep].append(spi[0])
106106

107107
for dep, spis in dependency_groups.items():
108-
print(f"\nDependency: {dep} affects {len(spis)} SPI(s)")
108+
print(f"\nDependency - {dep} - affects {len(spis)} SPI(s)")
109109
print("Excluded SPIs:")
110110
for spi in spis:
111111
print(f" - {spi}")
112112

113-
print(f"="*100)
114-
print("\nOptions to Proceed:")
113+
print(f"\n" + "="*100)
114+
print("\nOPTIONS TO PROCEED:\n")
115115
print(f" 1) Install the following dependencies to access all SPIs: [{', '.join(missing_deps)}]")
116116
callable_name = "{Calculator/CalculatorFrame}"
117117
print(f" 2) Continue with a reduced set of {self.n_spis} SPIs by calling {callable_name}.compute(). \n")
118-
print(f"="*100)
118+
print(f"="*100 + "\n")
119119

120120
if dataset is not None:
121121
self.load_dataset(dataset)

0 commit comments

Comments
 (0)