Skip to content

Commit

Permalink
Unpack kwargs in dataset.assign
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed May 13, 2024
1 parent 5f7fc85 commit d4fe09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daskms/tests/test_ms_read_and_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _array(ds, dims):
# Write some non-standard columns back to the MS
for i, ds in enumerate(xdsl):
xdsl[i] = ds.assign(
{
**{
"BITFLAG": _array(ds, ("row", "chan", "corr")),
"HAS_CORRS": _array(ds, ("row", "corr")),
"HAS_CHANS": _array(ds, ("row", "chan")),
Expand Down

0 comments on commit d4fe09f

Please sign in to comment.