saalfeldlab / render

Render transformed image tiles
GNU General Public License v2.0
33 stars 32 forks source link

Delete MinimalTileSpec #161

Closed minnerbe closed 9 months ago

minnerbe commented 9 months ago

This PR gets rid of the MinimalTileSpec and MinimalTileSpec classes. While I support encapsulating the low-level data representation that is returned by the render web service, these classes didn't seem to provide a useful abstraction. In particular, it seemed to me that most of the time the actual TileSpec was needed and the now deleted classes only served as a container for passing the spec as an argument.

I changed all occurrences of these two classes to TileSpec and move a few convenience methods there. Furthermore, after going through a number of files, I cleaned up some more with the help of my IDE.