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

fix: take into account storePointData setting #1733

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daker
Copy link
Contributor

@daker daker commented Dec 28, 2024

Context

fix #1709

Changes & Results

Testing

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] "OS:
  • [] "Node version:
  • [] "Browser:

Copy link

stackblitz bot commented Dec 28, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Dec 28, 2024

Deploy Preview for cornerstone-3d-docs failed. Why did it fail? →

Name Link
🔨 Latest commit d26c23a
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/6770725085440e000852ccf6

returnPoints: this.configuration.storePointData,
}
)
: null;
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is correct. We should still perform the statsCallback even if storePointData is not true (calculating mean, max, std, etc.). The only purpose of storePointData here is to decide whether to store the points inside the elliptical or rectangular ROI in the annotation object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i will update the code

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.

[Bug] RectangleROI & EllipseROI ignoring storePointData configuration
2 participants