ISEPOS-2325 Added a default value like "b" to maxmagnitude_wrapper.py to fix 'NoneType' object is not iterable

This commit is contained in:
Mieszko Makuch 2025-03-11 11:01:17 +01:00
parent d4c0fff9af
commit ac7933bd2c

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("--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("--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("--mag_name", help="Magnitude column name", type=str)