Skip to content

Commit

Permalink
ruffian
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoneiESS committed Feb 5, 2025
1 parent 99e579a commit a563332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scippnexus/nxtransformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def combine_transformations(
if any((x.sizes.get('time') == 0) for x in chain):
warnings.warn(
UserWarning('depends_on chain {x} contains empty time-series, '),
stacklevel=2
stacklevel=2,
)
# It is not clear what the dtype should be in this case. As transformations
# are commonly multiplied onto position vectors, we return an empty array of
Expand Down Expand Up @@ -243,7 +243,7 @@ def maybe_transformation(
except KeyError as e:
warnings.warn(
UserWarning(f'Invalid transformation, {obj.name} missing attribute {e}'),
stacklevel=2
stacklevel=2,
)
return value

Expand Down

0 comments on commit a563332

Please sign in to comment.