diff --git a/src/hdmf/container.py b/src/hdmf/container.py index 6498cde4f..229e20083 100644 --- a/src/hdmf/container.py +++ b/src/hdmf/container.py @@ -809,6 +809,11 @@ def set_dataio(self, **kwargs): """ Apply DataIO object to the data held by this Data object """ + warn( + "Data.set_dataio() is deprecated. Please use Data.set_data_io() instead.", + DeprecationWarning, + stacklevel=2, + ) dataio = getargs('dataio', kwargs) dataio.data = self.__data self.__data = dataio