Skip to content

Commit

Permalink
Fix wrong indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
YooSunYoung committed Sep 5, 2024
1 parent cf58890 commit 68e3658
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/ess/nmx/mcstas/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,12 @@ def load_crystal_rotation(
raise KeyError(
f"Crystal rotations [{', '.join(param_keys)}] not found in file."
)

return CrystalRotation(
sc.vector(
value=[file[param_key][...] for param_key in param_keys],
unit=instrument.simulation_settings.angle_unit,
return CrystalRotation(
sc.vector(
value=[file[param_key][...] for param_key in param_keys],
unit=instrument.simulation_settings.angle_unit,
)
)
)


def event_weights_from_probability(
Expand Down

0 comments on commit 68e3658

Please sign in to comment.