Skip to content

Commit 3da5bd2

Browse files
addresses #249
1 parent 37337c1 commit 3da5bd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deepszsim/io_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def update_val(self, attr, new_val):
8282
print("not a valid attribute")
8383

8484

85-
def write_params_yaml_new():
85+
def write_params_yaml_new(self):
8686
"""
8787
write updated yaml file to disk
8888
incorporate run id
@@ -92,7 +92,7 @@ def write_params_yaml_new():
9292
yaml_file.write( dump )
9393

9494

95-
def _generate_run_id(random_digits=6):
95+
def _generate_run_id(self, random_digits=6):
9696
'''
9797
'''
9898

@@ -117,7 +117,7 @@ def cosmology_param(self, ref):
117117
return (cosmo,sigma8,ns)
118118

119119

120-
def _quick_yaml_load(infile):
120+
def _quick_yaml_load(self, infile):
121121
"""
122122
simply load yaml files without remembering the syntax or yaml.safe_load command
123123
Parameters

0 commit comments

Comments
 (0)