Skip to content

Commit 9845710

Browse files
committed
somersaultecu: the .*_exp attributes of PhysicalDimension are defaulted
this, if they are 0, they do not need to be specified explicitly. thanks to [at]kayoub5 for the catch. Signed-off-by: Andreas Lauser <andreas.lauser@mercedes-benz.com>
1 parent d08dec7 commit 9845710

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

examples/somersaultecu.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -296,25 +296,13 @@ class SomersaultSID(IntEnum):
296296
short_name="time",
297297
long_name="Time",
298298
time_exp=1,
299-
length_exp=0,
300-
mass_exp=0,
301-
current_exp=0,
302-
temperature_exp=0,
303-
molar_amount_exp=0,
304-
luminous_intensity_exp=0,
305299
),
306300
"temperature":
307301
PhysicalDimension(
308302
odx_id=OdxLinkId("somersault.PD.temperature", doc_frags),
309303
short_name="temperature",
310304
long_name="Temperature",
311-
time_exp=0,
312-
length_exp=0,
313-
mass_exp=0,
314-
current_exp=0,
315305
temperature_exp=1,
316-
molar_amount_exp=0,
317-
luminous_intensity_exp=0,
318306
)
319307
}
320308

0 commit comments

Comments
 (0)