Skip to content

Commit

Permalink
test.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Aug 29, 2024
1 parent 9a241f5 commit f5a9abf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
10 changes: 3 additions & 7 deletions src/nomad_measurements/xrd/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,6 @@ class XRDResultRSM(XRDResult):
type=HDF5Reference,
description='The scattering vector *Q_perpendicular* of the diffractogram',
)
intensity = Quantity(
type=HDF5Reference,
description='The count at each position, dimensionless',
)

def generate_plots(self, archive: 'EntryArchive', logger: 'BoundLogger'):
"""
Expand Down Expand Up @@ -897,9 +893,9 @@ def write_xrd_data(
eln_dict['kalpha_one/units'] = str(source.kalpha_one.units)
eln_dict['kalpha_two'] = source.kalpha_two.magnitude
eln_dict['kalpha_two/units'] = str(source.kalpha_two.units)
eln_dict[
'ratio_kalphatwo_kalphaone'
] = source.ratio_kalphatwo_kalphaone.magnitude
eln_dict['ratio_kalphatwo_kalphaone'] = (
source.ratio_kalphatwo_kalphaone.magnitude
)
eln_dict['kbeta'] = source.kbeta.magnitude
eln_dict['kbeta/units'] = str(source.kbeta.units)

Expand Down
1 change: 0 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
PureSubstanceComponent,
PureSubstanceSection,
)

from nomad_measurements.utils import (
merge_sections,
)
Expand Down

0 comments on commit f5a9abf

Please sign in to comment.