(self, *transforms)
| 129 | |
| 130 | @parameterized.expand(TESTS_DICT) |
| 131 | def test_decollation_dict(self, *transforms): |
| 132 | t_compose = Compose([EnsureChannelFirstd(KEYS, channel_dim="no_channel"), Compose(transforms), ToTensord(KEYS)]) |
| 133 | # If nibabel present, read from disk |
| 134 | if has_nib: |
| 135 | t_compose = Compose([LoadImaged("image", image_only=True), t_compose]) |
| 136 | |
| 137 | dataset = CacheDataset(self.data_dict, t_compose, progress=False) |
| 138 | self.check_decollate(dataset=dataset) |
| 139 | |
| 140 | @parameterized.expand(TESTS_LIST) |
| 141 | def test_decollation_tensor(self, *transforms): |
nothing calls this directly
no test coverage detected