Skip to content

Commit 5f1fbd1

Browse files
committed
url speed
Signed-off-by: Wenqi Li <[email protected]>
1 parent f8b946c commit 5f1fbd1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/test_cuimage_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
has_cucim = has_cucim and hasattr(cucim, "CuImage")
2626
PILImage, has_pil = optional_import("PIL.Image")
2727

28-
FILE_URL = "http://openslide.cs.cmu.edu/download/openslide-testdata/Generic-TIFF/CMU-1.tiff"
28+
FILE_URL = "https://drive.google.com/uc?id=1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe"
2929
FILE_PATH = os.path.join(os.path.dirname(__file__), "testing_data", "temp_" + os.path.basename(FILE_URL))
3030

3131
HEIGHT = 32914

tests/test_masked_inference_wsi_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
_, has_cim = optional_import("cucim")
2626
_, has_osl = optional_import("openslide")
2727

28-
FILE_URL = "http://openslide.cs.cmu.edu/download/openslide-testdata/Generic-TIFF/CMU-1.tiff"
28+
FILE_URL = "https://drive.google.com/uc?id=1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe"
2929
base_name, extension = os.path.splitext(os.path.basename(FILE_URL))
3030
FILE_NAME = "temp_" + base_name
3131
FILE_PATH = os.path.join(os.path.dirname(__file__), "testing_data", FILE_NAME + extension)

tests/test_openslide_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
_, has_osl = optional_import("openslide")
2525

2626

27-
FILE_URL = "http://openslide.cs.cmu.edu/download/openslide-testdata/Generic-TIFF/CMU-1.tiff"
27+
FILE_URL = "https://drive.google.com/uc?id=1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe"
2828
FILE_PATH = os.path.join(os.path.dirname(__file__), "testing_data", "temp_" + os.path.basename(FILE_URL))
2929

3030
HEIGHT = 32914

tests/test_patch_wsi_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
has_cim = has_cim and hasattr(_cucim, "CuImage")
2626
_, has_osl = optional_import("openslide")
2727

28-
FILE_URL = "http://openslide.cs.cmu.edu/download/openslide-testdata/Generic-TIFF/CMU-1.tiff"
28+
FILE_URL = "https://drive.google.com/uc?id=1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe"
2929
FILE_PATH = os.path.join(os.path.dirname(__file__), "testing_data", "temp_" + os.path.basename(FILE_URL))
3030

3131
TEST_CASE_0 = [

tests/test_smartcache_patch_wsi_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
_cucim, has_cim = optional_import("cucim")
2525
has_cim = has_cim and hasattr(_cucim, "CuImage")
2626

27-
FILE_URL = "http://openslide.cs.cmu.edu/download/openslide-testdata/Generic-TIFF/CMU-1.tiff"
27+
FILE_URL = "https://drive.google.com/uc?id=1sGTKZlJBIz53pfqTxoTqiIQzIoEzHLAe"
2828
FILE_PATH = os.path.join(os.path.dirname(__file__), "testing_data", "temp_" + os.path.basename(FILE_URL))
2929

3030
TEST_CASE_0 = [

0 commit comments

Comments
 (0)