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

set_parameters function : fix bugs and add test if kwargs value uncha… #18

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

Conversation

BayaneMdW
Copy link
Contributor

set_parameters function : fix bugs and add test if kwargs value unchanged

and

change alignement for cosmetic

Solar wind particle density : {self._nsw}
Magnetopause thickness : {self._mp_thick}
"""
IMF cone angle (°) : {self._cone}
Copy link
Contributor

Choose a reason for hiding this comment

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

this won't print well

self._tilt = kwargs["tilt"]
self.bmsp = self._grid_bmsp[str(self._tilt)]
if ("clock" in kwargs) or ("cone" in kwargs):
if kwargs["clock"]:
if (("clock" in kwargs) and (self._clock != kwargs["clock"])) or (("cone" in kwargs) and (self._cone != kwargs["cone"])):
Copy link
Contributor

Choose a reason for hiding this comment

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

float comparison issue I think

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.

2 participants