Commit 0939fb4f authored by Julie Brossard's avatar Julie Brossard
Browse files

Merge branch '193-attributeerror-nonetype-object-has-no-attribute-keys' into 'release_v4.2.3'

Resolve ""AttributeError: 'NoneType' object has no attribute 'keys'""

See merge request maja/maja!165
parents 27ffcec3 32405e65
......@@ -260,7 +260,7 @@ class CAMSFileHandler(object):
cams_app_param["after.mrfile"] = self._afterFile["mr_file"]
cams_app_param["after.rhfile"] = self._afterFile["rh_file"]
cams_app_param["after.modellevels"] = self._afterFile["model_levels"]
if "NbNonInterpolate" in self._beforeFile.keys():
if "NbNonInterpolate" in self._afterFile.keys():
cams_app_param["after.nbnointerpol"] = self._afterFile["NbNonInterpolate"]
self.__camsapp = OtbAppHandler("CAMSComputation", cams_app_param, write_output=True)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment