ISEPOS-2325 Fix 'NoneType' object is not iterable #1

Merged
mieszkomakuch merged 3 commits from bugfix/ISEPOS-2325-fix-nontype-object-bug into master 2025-03-24 14:32:28 +01:00
Showing only changes of commit ac7933bd2c - Show all commits

View File

@ -37,7 +37,7 @@ def main(argv):
parser.add_argument("--G", help="Shear modulus of reservoir (in Pa).", type=float, default=35000000000) parser.add_argument("--G", help="Shear modulus of reservoir (in Pa).", type=float, default=35000000000)
parser.add_argument("--ssd", help="Static stress drop (in Pa).", type=float, default=3000000) parser.add_argument("--ssd", help="Static stress drop (in Pa).", type=float, default=3000000)
parser.add_argument("--C", help="Geometrical constant.", type=float, default=0.95) parser.add_argument("--C", help="Geometrical constant.", type=float, default=0.95)
parser.add_argument("--b_value_type", help="b-value type: parameter of type 'TEXT'", action='append') parser.add_argument("--b_value_type", help="b-value type: parameter of type 'TEXT'", action='append', default="b")
parser.add_argument("--cl", help="Confidence level in van der Elst model.", type=float, action='append') parser.add_argument("--cl", help="Confidence level in van der Elst model.", type=float, action='append')
parser.add_argument("--mag_name", help="Magnitude column name", type=str) parser.add_argument("--mag_name", help="Magnitude column name", type=str)