Skip to content

Commit 8e51f7e

Browse files
omit extraneous newline at end of output (which gets stripped by pre-commit linting)
1 parent d55fba0 commit 8e51f7e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/geophires_x/Outputs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,15 +909,15 @@ def get_sam_cash_flow_profile_output(self, model):
909909
# number that results in a separator line at least as wide as the table (narrower would be unsightly).
910910
spaces_per_tab = 4
911911

912-
# The tabluate library has native separating line functionality (per https://pypi.org/project/tabulate/) but
912+
# The tabulate library has native separating line functionality (per https://pypi.org/project/tabulate/) but
913913
# I wasn't able to get it to replicate the formatting as coded below.
914-
separator_line = len(cfp_o.split('\n')[0].replace('\t',' ' * spaces_per_tab)) * '-'
914+
separator_line = len(cfp_o.split('\n')[0].replace('\t', ' ' * spaces_per_tab)) * '-'
915915

916916
ret += separator_line + '\n'
917917
ret += cfp_o
918918
ret += '\n' + separator_line
919919

920-
ret += '\n\n'
920+
ret += '\n'
921921

922922
return ret
923923

tests/examples/Fervo_Project_Cape-5.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.10.25
88
Simulation Date: 2026-01-14
9-
Simulation Time: 11:31
10-
Calculation Time: 1.763 sec
9+
Simulation Time: 11:38
10+
Calculation Time: 1.828 sec
1111

1212
***SUMMARY OF RESULTS***
1313

0 commit comments

Comments
 (0)