We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e534db0 commit fc4d343Copy full SHA for fc4d343
demo/_synctiles.py
@@ -57,7 +57,7 @@
57
if TYPE_CHECKING:
58
from mypy_boto3_s3.service_resource import Object
59
60
-STAMP_VERSION = 'size-510' # change to retile without OpenSlide version bump
+STAMP_VERSION = 'threads2' # change to retile without OpenSlide version bump
61
CORS_ORIGINS = ['*']
62
DOWNLOAD_BASE_URL = 'https://openslide.cs.cmu.edu/download/openslide-testdata/'
63
DOWNLOAD_INDEX = 'index.json'
@@ -290,6 +290,8 @@ def sync(self) -> PurePath:
290
icc_profile=tile.info.get('icc_profile'),
291
)
292
new_md5 = md5(buf.getbuffer())
293
+ if new_md5.hexdigest().endswith('00'):
294
+ raise Exception('hi')
295
if self.cur_md5 != new_md5.hexdigest():
296
self.storage.object(self.key_name).put(
297
Body=buf.getvalue(),
0 commit comments