You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the section of code which writes the file.
defwrite_offspring(self, filename=None):
""" Write the current offspring to a CSV file. Similar to write_population """ifself._offspringisNone:
logger.warning("No offspring to write")
returniffilenameisNone:
filename=f"{self.name}_offspring_{xopt.utils.isotime(include_microseconds=True)}.csv"filename=os.path.join(self.output_path, filename)
self._offspring.to_csv(filename, index_label="xopt_index")
Here are some examples of files that are getting generated.
Hey folks. I was using data from the CNSGA generator recently and discovered that the default name for "offspring files" contains the colon character which is reserved on windows filesystems (https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file).
Here is the section of code which writes the file.
Here are some examples of files that are getting generated.
The text was updated successfully, but these errors were encountered: