Skip to content

3600 Apply unused kwargs for 3rd party APIs in WSIReader#3601

Merged
Nic-Ma merged 11 commits intoProject-MONAI:devfrom
Nic-Ma:enhance-wsi-reader
Jan 7, 2022
Merged

3600 Apply unused kwargs for 3rd party APIs in WSIReader#3601
Nic-Ma merged 11 commits intoProject-MONAI:devfrom
Nic-Ma:enhance-wsi-reader

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Jan 7, 2022

Fixes #3600 .

Description

This PR applied the unused kwargs arg in WSIReader for the additional args of 3rd party APIs, like:
https://scikit-image.org/docs/0.14.x/api/skimage.external.tifffile.html#skimage.external.tifffile.TiffFile
https://openslide.org/api/python/#openslide.OpenSlide
https://github.com/rapidsai/cucim/blob/v21.12.00/cpp/include/cucim/cuimage.h#L100

Status

Ready

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.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 7, 2022

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 7, 2022

/build

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 7, 2022

/build

Signed-off-by: Nic Ma <[email protected]>
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 7, 2022

/build

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.

It seems openslide doesn't support additional arguments in the constructor, otherwise it looks good

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 7, 2022

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 7, 2022

/build

@Nic-Ma Nic-Ma enabled auto-merge (squash) January 7, 2022 09:26
@Nic-Ma Nic-Ma merged commit 1913086 into Project-MONAI:dev Jan 7, 2022
Can-Zhao pushed a commit to Can-Zhao/MONAI that referenced this pull request Jan 10, 2022
…ONAI#3601)

* [DLMED] add kwargs

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add unit test

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix doc typo

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request Jan 10, 2022
* [DLMED] add kwargs

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] add unit test

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix doc typo

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>
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.

Missed to apply kwargs in WSIReader

2 participants