Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
garciadias committed Nov 21, 2024
1 parent d4b01e6 commit bfc68a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_bundle_ckpt_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_ckpt_export(self, key_in_ckpt, use_trace):
self.assertTrue(os.path.exists(self.ts_file))

_, metadata, extra_files = load_net_with_metadata(
self.ts_file, more_extra_files=["inference.json", "def_args.json"]
self.ts_file, more_extra_files=["inference.json", "def_args.json"]
)
self.assertIn("schema", metadata)
self.assertIn("meta_file", json.loads(extra_files["def_args.json"]))
Expand Down
3 changes: 1 addition & 2 deletions tests/test_clip_intensity_percentilesd.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
from monai.transforms import ClipIntensityPercentilesd
from monai.transforms.utils_pytorch_numpy_unification import clip, percentile
from monai.utils.type_conversion import convert_to_tensor
from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, NumpyImageTestCase3D, assert_allclose

from tests.test_clip_intensity_percentiles import test_hard_clip_func, test_soft_clip_func
from tests.utils import TEST_NDARRAYS, NumpyImageTestCase2D, NumpyImageTestCase3D, assert_allclose


class TestClipIntensityPercentilesd2D(NumpyImageTestCase2D):
Expand Down

0 comments on commit bfc68a4

Please sign in to comment.