File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,17 +37,17 @@ def echo_int():
3737class {0.name_of_the_code_interface_class}({0.name_of_the_superclass_for_the_code_interface_class}):
3838
3939 def __init__(self, **options):
40+ {0.name_of_the_superclass_for_the_code_interface_class}.__init__(self, {0.name_of_the_community_interface_class}(**options), **options)
4041
41- # the following alternative __init__ signature is appropiate for codes that use an unspecified unit system
42+ # the following alternative __init__ is appropiate for codes that use an unspecified unit system
4243# (ie the quantities have dimension but no definite scale)
4344#
4445# def __init__(self, unit_converter=None, **options):
4546# self.unit_converter=unit_converter
47+ # {0.name_of_the_superclass_for_the_code_interface_class}.__init__(self, {0.name_of_the_community_interface_class}(**options), **options)
4648#
4749# in this case you also need to use the define_converter below
4850
49- {0.name_of_the_superclass_for_the_code_interface_class}.__init__(self, {0.name_of_the_community_interface_class}(**options), **options)
50-
5151# typically the high level specification also contains the following:
5252
5353# the definition of the state model of the code
You can’t perform that action at this time.
0 commit comments