Commits

Chris Mutel committed d7b470b

use config.biosphere instead of hardcoding biosphere name

Comments (0)

Files changed (1)

 from __future__ import division
 from time import time
 from bw2calc import LCA
-from bw2data import Database, methods, databases, mapping, Method
+from bw2data import Database, methods, databases, mapping, Method, config
 import numpy as np
 import progressbar
 
     else:
         raise ValueError("Can't interpret %s as a LCIA method" % method)
 
-    biosphere = Database("biosphere").load()
+    biosphere = Database(config.biosphere).load()
     grouped = {}
 
     for key, cf, geo in data: