Skip to content

Commit

Permalink
Refactor pointing vector variable name and add conditional check for …
Browse files Browse the repository at this point in the history
…manual settings in Ramanspectroscopy class
  • Loading branch information
budschi committed Sep 27, 2024
1 parent bbeb275 commit 797a36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nomad_ikz_raman/schema_packages/raman.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,8 @@ def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None:
measurementsettings.z = raman_dict.get(
'Z',
)
self.measurement_settings = measurementsettings
if not self.manual_settings:
self.measurement_settings = measurementsettings
self.manual_settings = ManualSettings()
self.manual_settings.polarization = Polarization()
self.manual_settings.filters = Filters()
Expand Down

0 comments on commit 797a36f

Please sign in to comment.