diff --git a/sed/core/processor.py b/sed/core/processor.py index b9d425f6..9069215c 100644 --- a/sed/core/processor.py +++ b/sed/core/processor.py @@ -1487,6 +1487,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!") @@ -1524,6 +1526,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,