File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/geophires_monte_carlo Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 27
27
28
28
from geophires_monte_carlo .common import _get_logger
29
29
from geophires_x .Parameter import OutputParameter
30
+ from geophires_x .Parameter import Parameter
30
31
from geophires_x .Parameter import floatParameter
31
32
from geophires_x_client import GeophiresInputParameters
32
33
from geophires_x_client import GeophiresXClient
@@ -192,7 +193,7 @@ def render_scientific(p: float, unit: str = '') -> str:
192
193
return f'{ p :10.2e} { unit } ' .strip ()
193
194
194
195
195
- def render_Parameter_default (p : floatParameter | OutputParameter ) -> str :
196
+ def render_Parameter_default (p : Parameter ) -> str :
196
197
"""
197
198
RenderDefault - render a float as a string with 2 decimal places, or in scientific notation if it is greater than
198
199
10,000 with the unit appended to it if it is not an empty string (the default) by calling the render_default base
You can’t perform that action at this time.
0 commit comments