mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
BasicCollector: store data_filename in HDF5 file
This commit is contained in:
@@ -50,6 +50,7 @@ class BasicCollector:
|
|||||||
return
|
return
|
||||||
|
|
||||||
with H5File(h5_filename, "w") as h5:
|
with H5File(h5_filename, "w") as h5:
|
||||||
|
h5.put_scalar("data_filename", data_filename)
|
||||||
streams: List[Any] = [StringIO()]
|
streams: List[Any] = [StringIO()]
|
||||||
if verbose:
|
if verbose:
|
||||||
streams += [sys.stdout]
|
streams += [sys.stdout]
|
||||||
|
|||||||
Reference in New Issue
Block a user