Skip to content

Commit 3d33e99

Browse files
committed
fix: TransposeCodecInfo.concatenate
1 parent 0039f17 commit 3d33e99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/janelia/saalfeldlab/n5/codec/transpose/TransposeCodecInfo.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ public static TransposeCodecInfo concatenate(TransposeCodecInfo[] infos) {
8282

8383
if( infos == null || infos.length == 0)
8484
return null;
85+
else if (infos.length == 1)
86+
return infos[0];
8587

8688
// copy the initial order so we don't modify to the original
8789
int[] order = new int[infos[0].order.length];

0 commit comments

Comments
 (0)