brightway-lca / brightway2-data

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.
https://docs.brightway.dev/
BSD 3-Clause "New" or "Revised" License
8 stars 21 forks source link

Disable pickle saving in numpy.save #67

Closed aleksandra-kim closed 4 years ago

aleksandra-kim commented 4 years ago

Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Should also apply to all other BW2 libraries. Then remove `allow_pickle=True`.

aleksandra-kim commented 4 years ago

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


It looks like every .save call already disallows pickling. Unclear where this is happening in the calculation chain. Can’t reproduce on MacOS. Close of now, while still allowing loading of pickled numpy arrays.

aleksandra-kim commented 4 years ago

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Can't reproduce.