Update src/seismic_hazard_forecasting.py
This commit is contained in:
@@ -679,7 +679,7 @@ verbose: {verbose}")
|
||||
logger.error(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
if lambdas[0] == None:
|
||||
if lambdas == None:
|
||||
msg = "Activity rate modeling was not selected and custom activity rate was not provided; cannot continue..."
|
||||
logger.error(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
Reference in New Issue
Block a user