Commits

Chris Mutel  committed b949747

Add extra fields for production processes

  • Participants
  • Parent commits c961ac3

Comments (0)

Files changed (1)

File bw2data/database.py

                 count += 1
             if not production_found and data[key]["type"] == "process":
                 # Add amount produced for each process (default 1)
-                arr[count] = (0, mapping[key], mapping[key],
+                arr[count] = (
+                    0, mapping[key], mapping[key],
                     geomapping[data[key].get("location", "GLO") or "GLO"],
                     MAX_INT_32, MAX_INT_32, TYPE_DICTIONARY["production"],
-                    1, np.NaN, np.NaN, np.NaN, False)
+                    1, np.NaN, np.NaN, np.NaN, np.NaN, np.NaN, False
+                )
                 count += 1
 
         # The array is too big, because it can include a default production