climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1566131 - /incubator/climate/trunk/ocw-ui/backend/processing.py
Date Sat, 08 Feb 2014 21:00:28 GMT
Author: joyce
Date: Sat Feb  8 21:00:28 2014
New Revision: 1566131

URL: http://svn.apache.org/r1566131
Log:
CLIMATE-332 - Properly handle metric processing from request query string

Modified:
    incubator/climate/trunk/ocw-ui/backend/processing.py

Modified: incubator/climate/trunk/ocw-ui/backend/processing.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw-ui/backend/processing.py?rev=1566131&r1=1566130&r2=1566131&view=diff
==============================================================================
--- incubator/climate/trunk/ocw-ui/backend/processing.py (original)
+++ incubator/climate/trunk/ocw-ui/backend/processing.py Sat Feb  8 21:00:28 2014
@@ -140,7 +140,7 @@ def run_evaluation():
     target_datasets =  [dsp.spatial_regrid(ds, lat_bins, lon_bins) for ds in datasets]
 
     # Load metrics
-    metrics = _load_metrics(request.query['metrics'])
+    metrics = _load_metrics(literal_eval(request.query['metrics']))
 
     # Prime evaluation object with data
     # Run evaluation



Mime
View raw message