Skip to content

ERROR tests.test_masked_patch_wsi_dataset #4451

@wyli

Description

@wyli

Describe the bug
randomly error out

[2022-06-03T16:45:42.267Z] ======================================================================
[2022-06-03T16:45:42.267Z] ERROR: test_gen_patches_0 (tests.test_masked_patch_wsi_dataset.TestSlidingPatchWSIDatasetCuCIM)
[2022-06-03T16:45:42.267Z] ----------------------------------------------------------------------
[2022-06-03T16:45:42.267Z] Traceback (most recent call last):
[2022-06-03T16:45:42.267Z]   File "/opt/conda/lib/python3.8/site-packages/parameterized/parameterized.py", line 533, in standalone_func
[2022-06-03T16:45:42.267Z]     return func(*(a + p.args), **p.kwargs)
[2022-06-03T16:45:42.267Z]   File "/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_masked_patch_wsi_dataset.py", line 57, in test_gen_patches
[2022-06-03T16:45:42.267Z]     dataset = MaskedPatchWSIDataset(reader=self.backend, **input_parameters)
[2022-06-03T16:45:42.267Z]   File "/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_datasets.py", line 371, in __init__
[2022-06-03T16:45:42.267Z]     patch_samples = self._evaluate_patch_locations(sample)
[2022-06-03T16:45:42.267Z]   File "/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_datasets.py", line 378, in _evaluate_patch_locations
[2022-06-03T16:45:42.267Z]     wsi_obj = self._get_wsi_object(sample)
[2022-06-03T16:45:42.267Z]   File "/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_datasets.py", line 109, in _get_wsi_object
[2022-06-03T16:45:42.267Z]     self.wsi_object_dict[image_path] = self.wsi_reader.read(image_path)
[2022-06-03T16:45:42.267Z]   File "/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_reader.py", line 347, in read
[2022-06-03T16:45:42.267Z]     return self.reader.read(data=data, **kwargs)
[2022-06-03T16:45:42.267Z]   File "/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_reader.py", line 428, in read
[2022-06-03T16:45:42.267Z]     wsi = CuImage(filename, **kwargs_)
[2022-06-03T16:45:42.267Z] ValueError: Cannot open /home/jenkins/agent/workspace/MONAI-premerge/monai/tests/testing_data/temp_CMU-1.tiff.tiff!
[2022-06-03T16:45:42.267Z] 
[2022-06-03T16:45:42.267Z] ----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions