File tree Expand file tree Collapse file tree
src/main/java/dev/zarr/zarrjava/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121public abstract class Array extends AbstractNode {
2222
2323 protected CodecPipeline codecPipeline ;
24+ public static final boolean DEFAULT_PARALLELISM = true ;
2425
2526 protected Array (StoreHandle storeHandle ) throws ZarrException {
2627 super (storeHandle );
@@ -293,7 +294,7 @@ public void write(ucar.ma2.Array array) {
293294 * @param array the data to write
294295 */
295296 public void write (long [] offset , ucar .ma2 .Array array ) {
296- write (offset , array , false );
297+ write (offset , array , DEFAULT_PARALLELISM );
297298 }
298299
299300 /**
@@ -328,7 +329,7 @@ public ucar.ma2.Array read() throws ZarrException {
328329 */
329330 @ Nonnull
330331 public ucar .ma2 .Array read (final long [] offset , final int [] shape ) throws ZarrException {
331- return read (offset , shape , false );
332+ return read (offset , shape , DEFAULT_PARALLELISM );
332333 }
333334
334335 /**
You can’t perform that action at this time.
0 commit comments