Skip to content

Comments

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

Open
BayaneMdW wants to merge 1 commit intoLaboratoryOfPlasmaPhysics:masterfrom
BayaneMdW:update
Open

set_parameters function : fix bugs and add test if kwargs value uncha…#18
BayaneMdW wants to merge 1 commit intoLaboratoryOfPlasmaPhysics:masterfrom
BayaneMdW:update

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.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