Skip to content

Commit 61980e6

Browse files
committed
Ensure transform queue is cleared after applied
1 parent 6d099ed commit 61980e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/mdio/builder/templates/abstract_dataset_template.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def build_dataset(
8080

8181
for transform in self._queued_transforms:
8282
transform(self._builder)
83+
self._queued_transforms = []
8384
return self._builder.build()
8485

8586
@property

tests/integration/test_import_streamer_grid_overrides.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
# TODO(Altay): Finish implementing these grid overrides.
3232
# https://github.com/TGSAI/mdio-python/issues/612
33-
# @pytest.mark.skip(reason="NonBinned and HasDuplicates haven't been properly implemented yet.")
3433
# @pytest.mark.parametrize("grid_override", [{"NonBinned": True}, {"HasDuplicates": True}])
34+
# @pytest.mark.skip(reason="NonBinned and HasDuplicates haven't been properly implemented yet.")
3535
@pytest.mark.parametrize("grid_override", [{"HasDuplicates": True}])
3636
@pytest.mark.parametrize("chan_header_type", [StreamerShotGeometryType.C])
3737
class TestImport4DNonReg: # pragma: no cover - tests is skipped

0 commit comments

Comments
 (0)