Skip to content
Snippets Groups Projects
Commit c38d20bf authored by David Hendriks's avatar David Hendriks
Browse files

Solved some bugs

parent 7b6de53d
No related branches found
No related tags found
No related merge requests found
......@@ -118,9 +118,10 @@ def create_hdf5(data_dir, name):
# Make HDF5:
# Create the file
hdf5_filename = os.path.join(
data_dir, "{base_name}.hdf5".format(base_name=base_name)
data_dir, "{}".format(name)
)
print("Creating {}".format(hdf5_filename))
f = h5py.File(hdf5_filename, "w")
# Get content of data_dir
content_data_dir = os.listdir(data_dir)
......
......@@ -801,7 +801,7 @@ class Population(object):
full_system_dict.update(system)
binary_cmdline_string = self.return_argline(full_system_dict)
# print("{}/{}".format(i+1, total_starcount_run), binary_cmdline_string)
print("{}/{}".format(i+1, total_starcount_run), binary_cmdline_string)
yield binary_cmdline_string
# yield i
print("generator done")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment