build_demand_array raises AttributeError: 'LCA' object has no attribute 'product_dict'

Issue #6 invalid
Pascal Lesage
created an issue

build_demand_array fails:

db = bw.Database('ecoinvent 3_2 CutOff')
act = db.random()
myMethod = bw.methods.random()
myLCA = bw.LCA({act:1}, myMethod)
demand_array = myLCA.build_demand_array()

AttributeError: 'LCA' object has no attribute 'product_dict'

Specifying the product does not help:

demand_array = myLCA.build_demand_array(demand = {act.get('reference product')})

System: Windows 10. BW updated 2016/04/15

Comments (3)

  1. Log in to comment