1. Chris Mutel
  2. brightway2-calc

Commits

Chris Mutel  committed b83d45e

0.11.1. Compatible with new parameter array columns in bw2data 0.11

  • Participants
  • Parent commits dd19ef7
  • Branches default

Comments (0)

Files changed (4)

File bw2calc/__init__.py

View file
  • Ignore whitespace
 from .graph_traversal import GraphTraversal
 from .matrices import MatrixBuilder, TechnosphereBiosphereMatrixBuilder
 
-__version__ = (0, 11)
+__version__ = (0, 11, 1)

File bw2calc/lca.py

View file
  • Ignore whitespace
         """Load data and create characterization matrix."""
         self.cf_params, d, d, self.characterization_matrix = builder.build(
             self.dirpath, [methods[self.method]['abbreviation']],
-            "amount", "flow", "index", row_dict=self.biosphere_dict,
+            "amount", "flow", "row", row_dict=self.biosphere_dict,
             one_d=True)
 
     def load_weighting_data(self):
         """
         self.characterization_matrix = MatrixBuilder.build_diagonal_matrix(
             self.cf_params, self.biosphere_dict,
-            "index", "index", new_data=vector)
+            "row", "row", new_data=vector)
 
     def redo_lci(self, demand):
         """Redo LCI with same databases but different demand.

File docs/conf.py

View file
  • Ignore whitespace
 # The short X.Y version.
 version = '0.11'
 # The full version, including alpha/beta/rc tags.
-release = '0.11'
+release = '0.11.1'
 
 import sys
 from os.path import abspath, dirname

File setup.py

View file
  • Ignore whitespace
 
 setup(
     name='bw2calc',
-    version="0.11",
+    version="0.11.1",
     packages=["bw2calc", "bw2calc.tests"],
     author="Chris Mutel",
     author_email="cmutel@gmail.com",