From 06cda59401cc78a0af3c840855bc459254f7c9f1 Mon Sep 17 00:00:00 2001 From: Alan Silva <3899850+alanwilter@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:11:41 +0100 Subject: [PATCH] fix(deps): --- .talismanrc | 4 ++-- pyproject.toml | 2 +- tests/test_utils.py | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.talismanrc b/.talismanrc index 428c2c1..1901e8a 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,4 +1,4 @@ fileignoreconfig: - - filename: poetry.lock - checksum: 0ad40dc799769c4734b1f5791c32eb5657f6a337fd70492d16b4b8878bdcbf9f + - filename: tests/test_utils.py + checksum: 14b8bbe03e3409d22c16b263cdb52a1c62ec080c53e49ec55faf9a6bb88260ed version: "" diff --git a/pyproject.toml b/pyproject.toml index 8d7d65a..0b6ee18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ opencv-python-headless = "^4.10.0.84" typer = "^0.12.5" pydicom = "^3.0.1" natsort = "^8.4.0" -pillow = "^10.4.1" +pillow = "^10.4.0" python-gdcm = "^3.0.24.1" [tool.poetry.scripts] diff --git a/tests/test_utils.py b/tests/test_utils.py index 3396df9..c6301c5 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -277,7 +277,7 @@ def test_process_dcm_dummy(temp_output_dir): input_dir="tests/dummy_ex", output_dir=temp_output_dir, overwrite=True ) assert new_patient_key, original_patient_key == ("2375458543", "123456") - assert get_md5(os.path.join(temp_output_dir, "metadata.json")) == "1f2e613b856337aa46a35c641a95a4bd" + assert get_md5(os.path.join(temp_output_dir, "metadata.json"), bottom) == "75a81f29397d3919603a8d55b305fdb1" def test_process_dcm_dummy_group(temp_output_dir): @@ -285,7 +285,9 @@ def test_process_dcm_dummy_group(temp_output_dir): input_dir="tests/dummy_ex", output_dir=temp_output_dir, overwrite=True, group=True ) assert new_patient_key, original_patient_key == ("2375458543", "123456") - assert get_md5(os.path.join(temp_output_dir, "group_0", "metadata.json")) == "1f2e613b856337aa46a35c641a95a4bd" + assert ( + get_md5(os.path.join(temp_output_dir, "group_0", "metadata.json"), bottom) == "75a81f29397d3919603a8d55b305fdb1" + ) def test_process_dcm_dummy_mapping(temp_output_dir):