-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create large images for all items in a folder #1568
Conversation
@@ -17,6 +19,7 @@ def addSystemEndpoints(apiRoot): | |||
""" | |||
apiRoot.folder.route('GET', (':id', 'yaml_config', ':name'), getYAMLConfigFile) | |||
apiRoot.folder.route('PUT', (':id', 'yaml_config', ':name'), putYAMLConfigFile) | |||
apiRoot.folder.route('PUT', (':id', 'items'), createLargeImages) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds the endpoint folder/:id/items
. Other endpoints that are explicitly for large_images are either in item/:id/tiles/...
or large_image/...
. I think, conceptually, this is a utility function so it would make more sense to move this to rest/large_image_resource.py endpoint and rename the route to ('folder', ':id', 'create')
(though I could also see using tiles
rather than create
for consistency).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That route and location make more sense. Function moved and route renamed here.
When bioformats tries to open a zip file, it opens the file once per internal file. If it fails to find a file that can be opened within the zip, it throws an error and leaves all of the file handles open. By dividing the reader into more steps, we can ask to open an empty file, which somehow releases the file handles.
Fix DOI badge rendering on GitHub
The client test to use different viewers is failing because of some external package change. Disable it for now.
There isn't anything actionable until zarr 3 and zarr-sqlitestore are released.
This allows better control over how files with styled sources are rendered.
614a53b
to
456829e
Compare
…sh commits from master # dependency-type: direct:production #update-type: version-update:semver-major
37a57ac
to
955f5bd
Compare
This adds an endpoint that creates large images for an entire folder, as mentioned here. It iterates through the folder's items and creates a large image item for each if it isn't one already, with the option to recurse child folders. It also has an option to create a job for each large image item, and another to make the jobs local.
This does not yet finish creating large images for items with a large image in progress, but seemed to be a good start.