saalfeldlab / n5-ij

ImageJ convenience layer for N5
BSD 2-Clause "Simplified" License
14 stars 8 forks source link

Set number of threads #83

Open tischi opened 2 months ago

tischi commented 2 months ago

I am using the N5ScalePyramidExporter like this:

            N5ScalePyramidExporter exporter = new N5ScalePyramidExporter(
                    imp,
                    containerPath,
                    groupPath,
                    ZARR_FORMAT,
                    chunkSizeArg,
                    true,
                    downsampleMethod,
                    N5Importer.MetadataOmeZarrKey,
                    GZIP_COMPRESSION
            );

            exporter.setOverwrite( overwrite );
            exporter.run();

There is a private nThreads field, but that seems only accessible via the GUI. Could you make the settable programmatically?