Commit 9f0bdee2 authored by Miguel Tremblay's avatar Miguel Tremblay
Browse files

Layout.

parent af9f6a24
......@@ -92,10 +92,12 @@ class Metro_preprocess_qa_qc_forecast(Metro_preprocess):
for fElement in npElement:
if fpconst.isNaN(fElement):
if wf_controlled_data.is_standardCol(sElement):
sMessage = _("Value in forecast file must be valid.\n") +\
_("A value for the element <%s> is invalid") % (sElement.lower())+\
_(" in the file\n'%s'") % (metro_config.get_value("FILE_FORECAST_IN_FILENAME"))
sMessage = _("Value in forecast file must be valid.\n") \
+ _("A value for the element <%s> is invalid")\
% (sElement.lower())+\
_(" in the file\n'%s'") %\
(metro_config.get_value(\
"FILE_FORECAST_IN_FILENAME"))
raise "MetroAtmosphericForecastError", sMessage
else:
sMessage = _("A value for the extended element <%s> is invalid") % (sElement.lower())+\
......@@ -104,7 +106,6 @@ class Metro_preprocess_qa_qc_forecast(Metro_preprocess):
sMessage)
def __check_if_cloud_octal(self, wf_controlled_data):
"""
......
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