Skip to content

djkapner/render-python

 
 

Repository files navigation

render-python

This is a python API setup to interact via python with render databases and facilitate python scripting of tilespec creation see https://github.com/saalfeldlab/render it presently interacts with render via a web-api, though a couple functions are presently implemented with the java client scripts that are part of render, ideally those would be cutout.

tilespec.py is a set of python objects that facilitate serializing and deserializing objects to/from json.

add_downsample_to_render_project.py is an example script that makes use of these files to read tilespecs from a render stack, modify the tilespecs to include paths to downsampled images, and then write those tilespecs to disk, upload them back to render, and launch all the jobs to create those downsampled images in a parallel fashion. This program assumes a filestructure path that is unique to the Synapse Biology group at the Allen Institute, but nonetheless demonstrate the general utility of the above files.

create_mipmaps.py is a simple python program for using Pillow to create downsampled images from a single image that is included simply for reference.

About

A python interface for render

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 99.6%
  • Other 0.4%