Skip to content

Commit

Permalink
Merge pull request #82 from scipp/do-not-require-wavelength
Browse files Browse the repository at this point in the history
Do not require a wavelength coord
  • Loading branch information
jl-wynen authored Aug 22, 2024
2 parents a1ce0ed + 7024791 commit be0e925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ess/dream/io/geant4.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def _load_raw_events(file_path: str) -> sc.DataArray:
table = sc.io.load_csv(
file_path, sep="\t", header_parser="bracket", data_columns=[]
)
table.coords.pop("lambda", None)
table = table.rename_dims(row="event")
table.coords.pop("lambda")
return sc.DataArray(
sc.ones(sizes=table.sizes, with_variances=True, unit="counts"),
coords=table.coords,
Expand Down

0 comments on commit be0e925

Please sign in to comment.