Skip to content

Commit

Permalink
use bool for Axsym and Crosssec
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Mar 19, 2019
1 parent 7c93ec9 commit 94086c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogs5py/fileclasses/msh/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def AXISYMMETRY(self):
"""bool: AXISYMMETRY attribute."""
if "AXISYMMETRY" in self._dict["mesh_data"]:
return self._dict["mesh_data"]["AXISYMMETRY"]
return None
return False

@AXISYMMETRY.setter
def AXISYMMETRY(self, value):
Expand All @@ -141,7 +141,7 @@ def CROSS_SECTION(self):
"""bool: CROSS_SECTION attribute."""
if "CROSS_SECTION" in self._dict["mesh_data"]:
return self._dict["mesh_data"]["CROSS_SECTION"]
return None
return False

@CROSS_SECTION.setter
def CROSS_SECTION(self, value):
Expand Down

0 comments on commit 94086c9

Please sign in to comment.