worker_db: removed warning for writing a dataset that is also in the archive

Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
Leon Riesebos 2022-01-06 23:26:08 -05:00 committed by Sébastien Bourdeauducq
parent 9d493028e5
commit f42bea06a8
2 changed files with 1 additions and 5 deletions

View File

@ -34,6 +34,7 @@ Highlights:
* HDF5 options can now be passed when creating datasets with ``set_dataset``. This allows
in particular to use transparent compression filters as follows:
``set_dataset(name, value, hdf5_options={"compression": "gzip"})``.
* Removed worker DB warning for writing a dataset that is also in the archive
Breaking changes:

View File

@ -120,11 +120,6 @@ class DatasetManager:
def set(self, key, value, broadcast=False, persist=False, archive=True,
hdf5_options=None):
if key in self.archive:
logger.warning("Modifying dataset '%s' which is in archive, "
"archive will remain untouched",
key, stack_info=True)
if persist:
broadcast = True