diff --git a/sed/core/processor.py b/sed/core/processor.py index 37d467b2..5df5816e 100644 --- a/sed/core/processor.py +++ b/sed/core/processor.py @@ -1348,6 +1348,8 @@ def save( config["nexus"]["definition"] - **input_files**: A list of input files to pass to the reader. Defaults to config["nexus"]["input_files"] + - **eln_data**: An electronic-lab-notebook file in '.yaml' format + to add to the list of files to pass to the reader. """ if self._binned is None: raise NameError("Need to bin data first!") @@ -1379,6 +1381,9 @@ def save( if isinstance(input_files, str): input_files = [input_files] + if "eln_data" in kwds: + input_files.append(kwds.pop("eln_data")) + to_nexus( data=self._binned, faddr=faddr,