Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MetaTensor optional printed in DataStats and DataStatsd #5905 #7814

Merged
merged 16 commits into from
Sep 4, 2024

Conversation

slicepaste
Copy link
Contributor

Fixes #5905

Description

We simply add one argument for DataStats and DataStatsd to make MetaTensor optional printed.

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.

slicepaste and others added 2 commits May 30, 2024 18:04
Signed-off-by: Wei_Chuan, Chiang <jamesis1356@gmail.com>
@slicepaste slicepaste changed the title Fixes #5905 Make MetaTensor optional printed in DataStats and Datastatsd #5905 May 30, 2024
@slicepaste slicepaste changed the title Make MetaTensor optional printed in DataStats and Datastatsd #5905 Make MetaTensor optional printed in DataStats and DataStatsd #5905 May 30, 2024
@KumoLiu
Copy link
Contributor

KumoLiu commented May 31, 2024

@slicepaste, after change the argument, please also try run ./runtests.sh --autofix to fix the format issue.
https://github.com/Project-MONAI/MONAI/actions/runs/9312809059/job/25634185420?pr=7814#step:7:375

Thanks!

@slicepaste
Copy link
Contributor Author

slicepaste commented May 31, 2024

I'll figure out recently. Thanks for the reminder.

KumoLiu and others added 2 commits June 3, 2024 16:22
Fixes Project-MONAI#7697

### Description

A few sentences describing the changes proposed in this pull request.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
Fixes Project-MONAI#7646 

### Description

A few sentences describing the changes proposed in this pull request.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [x] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Co-authored-by: Ben Murray <ben.murray@gmail.com>
Signed-off-by: Wei_Chuan, Chiang <jamesis1356@gmail.com>
Signed-off-by: Wei_Chuan, Chiang <jamesis1356@gmail.com>
@slicepaste
Copy link
Contributor Author

slicepaste commented Jun 13, 2024

@KumoLiu
I have fixed the argument and formatting problem, I would appreciate it if you could review this issue.
If there are any additional changes, please let me know.
Thank you very much!

@KumoLiu
Copy link
Contributor

KumoLiu commented Aug 26, 2024

Hi @slicepaste, do you plan to finish this PR? If we want to include the change in version 1.4, we only have about one or two weeks left to add new things. Thanks!

@slicepaste
Copy link
Contributor Author

Hi @KumoLiu ,
Sure, I'll finish this PR in the next few days. Thanks for the reminder!

slicepaste and others added 6 commits August 28, 2024 15:44
Signed-off-by: Wei_Chuan, Chiang <jamesis1356@gmail.com>
Signed-off-by: Wei_Chuan, Chiang <jamesis1356@gmail.com>
Signed-off-by: Wei_Chuan, Chiang <jamesis1356@gmail.com>
Copy link
Contributor

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

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

LGTM now, thanks for the quick update.

@KumoLiu KumoLiu requested a review from ericspod August 28, 2024 10:25
@KumoLiu
Copy link
Contributor

KumoLiu commented Sep 4, 2024

/build

@KumoLiu KumoLiu enabled auto-merge (squash) September 4, 2024 09:53
@KumoLiu KumoLiu merged commit 19cc6f0 into Project-MONAI:dev Sep 4, 2024
28 checks passed
hjmjohnson pushed a commit to hjmjohnson/MONAI that referenced this pull request Sep 8, 2024
…MONAI#5905 (Project-MONAI#7814)

Fixes Project-MONAI#5905 

### Description

We simply add one argument for DataStats and DataStatsd to make
MetaTensor optional printed.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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: Wei_Chuan, Chiang <jamesis1356@gmail.com>
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
Co-authored-by: Suraj Pai <b.pai@maastrichtuniversity.nl>
Co-authored-by: Ben Murray <ben.murray@gmail.com>
@slicepaste slicepaste deleted the fix-issue-5905 branch September 19, 2024 05:02
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.

verbose DataStats for metatensor
4 participants