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

Some Niivue options do not get properly passed to the Niivue instance #7

Closed
AnthonyAndroulakis opened this issue Oct 15, 2022 · 2 comments

Comments

@AnthonyAndroulakis
Copy link
Contributor

Currently, the Niivue widget (python) can get initialized with a set of options.
On the typescript side, Niivue first gets initialized with 0 inputs, and then the Niivue options are modified after.
Even though updateGLVolume is called after each option modification, some options still do not get modified correctly.

@AnthonyAndroulakis AnthonyAndroulakis changed the title Some niivue options do not get properly passed to the Niivue instance Some Niivue options do not get properly passed to the Niivue instance Oct 15, 2022
@hanayik
Copy link
Member

hanayik commented Oct 16, 2022

@AnthonyAndroulakis , could you give some instructions to replicate this behaviour (maybe using a specific option that is not getting set properly) so that I can test locally on my machine?

@AnthonyAndroulakis
Copy link
Contributor Author

It turns out I was not initializing the Niivue object correctly. I should initialize Niivue with its options rather than initializing with 0 options and then modifying the options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants