Skip to content
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

Be more consistent in source class name attribute assignment. #884

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sources/deepzoom/large_image_source_deepzoom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DeepzoomFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'deepzoomfile'
name = 'deepzoom'
extensions = {
None: SourcePriority.LOW,
'dzi': SourcePriority.HIGH,
Expand Down
2 changes: 1 addition & 1 deletion sources/gdal/large_image_source_gdal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class GDALFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'gdalfile'
name = 'gdal'
extensions = {
None: SourcePriority.MEDIUM,
'geotiff': SourcePriority.PREFERRED,
Expand Down
2 changes: 1 addition & 1 deletion sources/mapnik/large_image_source_mapnik/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MapnikFileTileSource(GDALFileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'mapnikfile'
name = 'mapnik'
extensions = {
None: SourcePriority.MEDIUM,
'nc': SourcePriority.PREFERRED, # netcdf
Expand Down
2 changes: 1 addition & 1 deletion sources/multi/large_image_source_multi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class MultiFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'multifile'
name = 'multi'
extensions = {
None: SourcePriority.MEDIUM,
'json': SourcePriority.PREFERRED,
Expand Down
2 changes: 1 addition & 1 deletion sources/nd2/large_image_source_nd2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ND2FileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'nd2file'
name = 'nd2'
extensions = {
None: SourcePriority.LOW,
'nd2': SourcePriority.PREFERRED,
Expand Down
2 changes: 1 addition & 1 deletion sources/ometiff/large_image_source_ometiff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class OMETiffFileTileSource(TiffFileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'ometifffile'
name = 'ometiff'
extensions = {
None: SourcePriority.LOW,
'tif': SourcePriority.MEDIUM,
Expand Down
2 changes: 1 addition & 1 deletion sources/openjpeg/large_image_source_openjpeg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OpenjpegFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'openjpegfile'
name = 'openjpeg'
extensions = {
None: SourcePriority.MEDIUM,
'jp2': SourcePriority.PREFERRED,
Expand Down
2 changes: 1 addition & 1 deletion sources/openslide/large_image_source_openslide/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class OpenslideFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'openslidefile'
name = 'openslide'
extensions = {
None: SourcePriority.MEDIUM,
'bif': SourcePriority.LOW, # Ventana
Expand Down
2 changes: 1 addition & 1 deletion sources/pil/large_image_source_pil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class PILFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'pilfile'
name = 'pil'

# Although PIL is always a fallback source, prefer it to other fallback
# sources
Expand Down
2 changes: 1 addition & 1 deletion sources/tiff/large_image_source_tiff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'tifffile'
name = 'tiff'
extensions = {
None: SourcePriority.MEDIUM,
'tif': SourcePriority.HIGH,
Expand Down
2 changes: 1 addition & 1 deletion sources/vips/large_image_source_vips/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class VipsFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
"""

cacheName = 'tilesource'
name = 'vipsfile'
name = 'vips'
extensions = {
None: SourcePriority.LOW,
}
Expand Down