IDR / omero-mkngff

Plugin to swap OMERO filesets with NGFF
GNU General Public License v2.0
0 stars 2 forks source link

Dont walk arrays #11

Closed will-moore closed 10 months ago

will-moore commented 11 months ago

NB: this is on top of #9.

Fixes #10.

This avoids traversing all the chunk directories under .zarray directory, which we know will only contain chunks.

will-moore commented 11 months ago

Testing... installed on idr-testing.

(venv3) [root@test120-omeroreadwrite wmoore]# pip install git+https://github.com/will-moore/omero-mkngff.git@dont_walk_arrays

And on idr0125-pilot:

(venv3) [root@pilot-idr0125-omeroreadwrite wmoore]# pip install git+https://github.com/will-moore/omero-mkngff.git@dont_walk_arrays
Collecting git+https://github.com/will-moore/omero-mkngff.git@dont_walk_arrays
  Cloning https://github.com/will-moore/omero-mkngff.git (to revision dont_walk_arrays) to /tmp/pip-req-build-a9c45z58
  Running command git clone -q https://github.com/will-moore/omero-mkngff.git /tmp/pip-req-build-a9c45z58
  Running command git checkout -b dont_walk_arrays --track origin/dont_walk_arrays
  Switched to a new branch 'dont_walk_arrays'
  Branch dont_walk_arrays set up to track remote branch dont_walk_arrays from origin.
  Resolved https://github.com/will-moore/omero-mkngff.git to commit 7db8b499708112ea3f250c1bbf82e920c269d8d3
will-moore commented 11 months ago

Updated again on idr-testing and idr0125-pilot to include last commit.

will-moore commented 11 months ago

Tested today with idr0013. https://github.com/IDR/idr-metadata/issues/644#issuecomment-1727966209 3 minutes per fileset

will-moore commented 11 months ago

For info about that last commit, see https://github.com/IDR/idr-metadata/issues/644#issuecomment-1729155361