Skip to content

Commit

Permalink
rm Entry type overwritting.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Aug 29, 2024
1 parent 0066e55 commit 9a241f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/nomad_measurements/xrd/nx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

0 comments on commit 9a241f5

Please sign in to comment.