diff --git a/src/nomad_measurements/xrd/schema.py b/src/nomad_measurements/xrd/schema.py index 2ab17794..0a66372b 100644 --- a/src/nomad_measurements/xrd/schema.py +++ b/src/nomad_measurements/xrd/schema.py @@ -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'): """ @@ -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) diff --git a/tests/test_utils.py b/tests/test_utils.py index 9c30e1ce..2c6182b3 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -22,7 +22,6 @@ PureSubstanceComponent, PureSubstanceSection, ) - from nomad_measurements.utils import ( merge_sections, )