Correctly document WriteMode
The convenient function create_dset
is not working in combination with the data manager.
Summary
(Summarise the encountered bug concisely)
The convenient function create_dset
in the model.hh
does not work with WriteMode::managed
because the required function to set the capacity of the dataset get_remaining_num_writes
returns nothing in this case.
In the end, it is just a convenient function
What is the current bug behaviour?
The capacity of the dataset is not set correctly because the information on how many write steps are left is missing.
The create_cm_dset
convenient function should also be checked.
What is the expected correct behaviour?
The capacity of the dataset is correctly set in the create_dset
function.
Relevant logs, screenshots, files...?
Ideas how to fix this?
-
If the information is contained somewhere in the
DataManager
how many steps are to be written, so how often the triggers are to be called, the capacity can be set correctly in thecreate_dset
function. -
A kind of dirty solution would be to just reserve the capacity as if each time step would be written. But I guess, this is not desired.