From b0c8d0a32bac8957529dd9476893b64634aaa22b Mon Sep 17 00:00:00 2001 From: John Bogovic Date: Fri, 14 Jun 2024 13:14:35 -0400 Subject: [PATCH] fix: groups ending in 'invdfield' to be treated as inverses --- src/main/java/bdv/gui/sourceList/BigWarpSourceTableModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/bdv/gui/sourceList/BigWarpSourceTableModel.java b/src/main/java/bdv/gui/sourceList/BigWarpSourceTableModel.java index 854843fd..003cac10 100644 --- a/src/main/java/bdv/gui/sourceList/BigWarpSourceTableModel.java +++ b/src/main/java/bdv/gui/sourceList/BigWarpSourceTableModel.java @@ -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,