Skip to content

Commit 8238309

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/geophires_monte_carlo/MC_GeoPHIRES3.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
from rich.table import Table
2727

2828
from geophires_monte_carlo.common import _get_logger
29-
from geophires_x.Parameter import OutputParameter
3029
from geophires_x.Parameter import Parameter
31-
from geophires_x.Parameter import floatParameter
3230
from geophires_x_client import GeophiresInputParameters
3331
from geophires_x_client import GeophiresXClient
3432
from geophires_x_client import GeophiresXResult
@@ -205,7 +203,7 @@ def render_Parameter_default(p: Parameter) -> str:
205203
return render_default(p.value, p.CurrentUnits.value)
206204

207205

208-
def render_parameter_scientific(p: floatParameter | OutputParameter) -> str:
206+
def render_parameter_scientific(p: Parameter) -> str:
209207
"""
210208
RenderScientific - render a float as a string in scientific notation with 2 decimal places
211209
and the unit appended to it if it is not an empty string (the default) by calling the render_scientific base function

0 commit comments

Comments
 (0)