Skip to content

Width and height swapped when creating test image in data/synthetic/create_test_image_2d#5627

Merged
wyli merged 15 commits intoProject-MONAI:devfrom
OeslleLucena:5373-width-and-height-swapped-when-creating-test-image-in-datasyntheticcreate_test_image_2d-1
Dec 15, 2022
Merged

Width and height swapped when creating test image in data/synthetic/create_test_image_2d#5627
wyli merged 15 commits intoProject-MONAI:devfrom
OeslleLucena:5373-width-and-height-swapped-when-creating-test-image-in-datasyntheticcreate_test_image_2d-1

Conversation

@OeslleLucena
Copy link
Copy Markdown
Contributor

@OeslleLucena OeslleLucena commented Dec 1, 2022

Signed-off-by: OeslleLucena [email protected]

Fixes #5373.

Description

Change the synthetic.py script to have the (height, width, depth) format.
Edit all the tests that uses create_test_image_3d to match the new format.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: OeslleLucena <[email protected]>
@OeslleLucena OeslleLucena marked this pull request as draft December 1, 2022 18:34
Signed-off-by: OeslleLucena <[email protected]>
…hen-creating-test-image-in-datasyntheticcreate_test_image_2d-1
Signed-off-by: OeslleLucena <[email protected]>
…hen-creating-test-image-in-datasyntheticcreate_test_image_2d-1
…in-datasyntheticcreate_test_image_2d-1' of https://github.com/OeslleLucena/MONAI into 5373-width-and-height-swapped-when-creating-test-image-in-datasyntheticcreate_test_image_2d-1
…hen-creating-test-image-in-datasyntheticcreate_test_image_2d-1
@OeslleLucena OeslleLucena marked this pull request as ready for review December 14, 2022 11:43
@OeslleLucena OeslleLucena requested review from rijobro and wyli December 14, 2022 12:53
wyli
wyli previously approved these changes Dec 14, 2022
Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks good to me.

…est-image-in-datasyntheticcreate_test_image_2d-1
@wyli wyli enabled auto-merge (squash) December 14, 2022 13:32
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Dec 14, 2022

/build

@wyli wyli dismissed their stale review December 14, 2022 14:09

integration tests

…in-datasyntheticcreate_test_image_2d-1' of https://github.com/OeslleLucena/MONAI into 5373-width-and-height-swapped-when-creating-test-image-in-datasyntheticcreate_test_image_2d-1
…hen-creating-test-image-in-datasyntheticcreate_test_image_2d-1
@OeslleLucena OeslleLucena requested a review from wyli December 15, 2022 15:01
…est-image-in-datasyntheticcreate_test_image_2d-1
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Dec 15, 2022

/build

…est-image-in-datasyntheticcreate_test_image_2d-1
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Dec 15, 2022

/build

@wyli wyli merged commit fb3d9f1 into Project-MONAI:dev Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Width and height swapped when creating test image in data/synthetic/create_test_image_2d

2 participants