Skip to content

Commit 438880e

Browse files
added rich HTML output for MC_GEOPHIRES. Also fixed bug for when run from command line
1 parent b6af2ac commit 438880e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/geophires_monte_carlo/MC_GeoPHIRES3.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
from geophires_monte_carlo.common import _get_logger
2929
from geophires_x.Parameter import OutputParameter
30+
from geophires_x.Parameter import Parameter
3031
from geophires_x.Parameter import floatParameter
3132
from geophires_x_client import GeophiresInputParameters
3233
from geophires_x_client import GeophiresXClient
@@ -192,7 +193,7 @@ def render_scientific(p: float, unit: str = '') -> str:
192193
return f'{p:10.2e} {unit}'.strip()
193194

194195

195-
def render_Parameter_default(p: floatParameter | OutputParameter) -> str:
196+
def render_Parameter_default(p: Parameter) -> str:
196197
"""
197198
RenderDefault - render a float as a string with 2 decimal places, or in scientific notation if it is greater than
198199
10,000 with the unit appended to it if it is not an empty string (the default) by calling the render_default base

0 commit comments

Comments
 (0)