Skip to content

Commit

Permalink
fix: groups ending in 'invdfield' to be treated as inverses
Browse files Browse the repository at this point in the history
  • Loading branch information
bogovicj committed Jun 14, 2024
1 parent 462d12b commit b0c8d0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public RealTransform getTransform() {
final URI uri = n5Uri.getURI();
if (uri.getFragment() == null) {
final String groupPath = uri.getQuery() == null ? N5DisplacementField.FORWARD_ATTR : n5Uri.getGroupPath();
final boolean isInverse = groupPath.equals(N5DisplacementField.INVERSE_ATTR);
final boolean isInverse = groupPath.endsWith(N5DisplacementField.INVERSE_ATTR);
return N5DisplacementField.open(
new N5Factory().openReader(n5Uri.getContainerPath()),
groupPath,
Expand Down

0 comments on commit b0c8d0a

Please sign in to comment.