diff --git a/vcell-core/src/main/java/cbit/vcell/export/server/JhdfUtils.java b/vcell-core/src/main/java/cbit/vcell/export/server/JhdfUtils.java index 5f661fc342..0de0a255dc 100644 --- a/vcell-core/src/main/java/cbit/vcell/export/server/JhdfUtils.java +++ b/vcell-core/src/main/java/cbit/vcell/export/server/JhdfUtils.java @@ -10,9 +10,8 @@ import io.jhdf.api.WritableNode; import org.vcell.util.trees.Tree; import io.jhdf.object.datatype.CompoundDataType; - import java.util.*; -import java.util.List; + public class JhdfUtils { public static Object createMultidimensionalArray(long[] dataDimensions, double[] flattenedDataBuffer) { @@ -178,6 +177,7 @@ public static void putAttribute(WritableNode node, String name, double[] value) node.putAttribute(name, value); } + public static Map addGroups(WritableGroup hdf5Group, Tree tree, String ... startingPath){ Map pathToGroupMapping = new HashMap<>(); String pathString = String.join("/", startingPath);