We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7823873 commit 13cd8baCopy full SHA for 13cd8ba
src/modeci_mdf/utils.py
@@ -135,7 +135,7 @@ def color_rgb_to_hex(rgb):
135
136
137
def is_number(s):
138
- """Return :code:`True` if cast to :code:`float` does not throw ValueError, :code:`False` otherwise. """
+ """Return :code:`True` if cast to :code:`float` does not throw ValueError, :code:`False` otherwise."""
139
try:
140
float(s)
141
return True
tests/test_model.py
@@ -94,7 +94,7 @@ def test_ConditionSet_init_kwargs():
94
95
96
def test_Condition_init_kwargs():
97
- """ Check the working of Condition"""
+ """Check the working of Condition"""
98
C = Condition(type="test_type", n="test_n", dependency="test_dependency")
99
assert C.type == "test_type"
100
assert C.args == {"n": "test_n", "dependency": "test_dependency"}
0 commit comments