diff --git a/src/nomad_measurements/xrd/nx.py b/src/nomad_measurements/xrd/nx.py index 474ef251..746bc2bc 100644 --- a/src/nomad_measurements/xrd/nx.py +++ b/src/nomad_measurements/xrd/nx.py @@ -174,7 +174,6 @@ def write_nx_section_and_create_file( scan_type (str): The type of scan, either 'line' or 'rsm' """ app_def = 'NXxrd_pan' - entry_type = archive.metadata.entry_type nxdl_root, _ = dataconverter.helpers.get_nxdl_root_and_path(app_def) template = dataconverter.template.Template() dataconverter.helpers.generate_template_from_nxdl(nxdl_root, template) @@ -190,4 +189,3 @@ def write_nx_section_and_create_file( output_file_path=nx_file, on_temp_file=False, ) - archive.metadata.entry_type = entry_type