Skip to content

Commit

Permalink
added rich HTML output for MC_GEOPHIRES. Also fixed bug for when run …
Browse files Browse the repository at this point in the history
…from command line
  • Loading branch information
malcolm-dsider committed Mar 13, 2024
1 parent 438880e commit 8238309
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/geophires_monte_carlo/MC_GeoPHIRES3.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
from rich.table import Table

from geophires_monte_carlo.common import _get_logger
from geophires_x.Parameter import OutputParameter
from geophires_x.Parameter import Parameter
from geophires_x.Parameter import floatParameter
from geophires_x_client import GeophiresInputParameters
from geophires_x_client import GeophiresXClient
from geophires_x_client import GeophiresXResult
Expand Down Expand Up @@ -205,7 +203,7 @@ def render_Parameter_default(p: Parameter) -> str:
return render_default(p.value, p.CurrentUnits.value)


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

0 comments on commit 8238309

Please sign in to comment.