Skip to content

Commit

Permalink
🩹Avoid scaling (raw) data with dataset scaling
Browse files Browse the repository at this point in the history
dataset scale parameter should be used elsewhere, not modify data
  • Loading branch information
jsnel committed Jun 2, 2024
1 parent 4cd51f1 commit f6a09de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glotaran/optimization/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def align_data(
aligned_data = xr.concat(
[
xr.DataArray(
self._datasets[label].data * self._scales[label],
self._datasets[label].data,
dims=["model", "global"],
coords={"global": axis},
)
Expand Down

0 comments on commit f6a09de

Please sign in to comment.