Skip to content

Commit 6042882

Browse files
committed
small change in creat_dir (slightly clearer)
1 parent 7e734e5 commit 6042882

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/amuse/rfi/tools/create_dir.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ def echo_int():
3737
class {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

0 commit comments

Comments
 (0)