From 334b7d08cf75fc15cce176ccf5aa499cf6341fc6 Mon Sep 17 00:00:00 2001 From: Chris Mutel Date: Mon, 9 Oct 2023 23:44:09 +0200 Subject: [PATCH] 0.8 --- CHANGES.md | 5 +++++ bw_temporalis/VERSION | 2 +- bw_temporalis/timeline.py | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index bbe70e6..e16c66f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [0.8] - 2023-10-09 + +* Add `Timeline.add_metadata_to_dataframe` method +* Removed `utils.supplement_dataframe` function + ### [0.7.2] - 2023-10-09 * Fix [#11](https://github.com/brightway-lca/bw_temporalis/issues/11) - Support uncertainty in graph traversal propagating to temporal distributions diff --git a/bw_temporalis/VERSION b/bw_temporalis/VERSION index 7486fdb..aec258d 100644 --- a/bw_temporalis/VERSION +++ b/bw_temporalis/VERSION @@ -1 +1 @@ -0.7.2 +0.8 diff --git a/bw_temporalis/timeline.py b/bw_temporalis/timeline.py index 96e7c93..a0c1492 100644 --- a/bw_temporalis/timeline.py +++ b/bw_temporalis/timeline.py @@ -242,10 +242,10 @@ def add_metadata_to_dataframe( Parameters ---------- - lca_object : bw2calc.LCA - The already instantiated and calculated LCA class (i.e. `.lci()` and `.lcia()` have already been done) - starting_datetime : datetime.datetime | str - When the functional unit happens. Must be a point in time. Normally something like `"now"` or `"2023-01-01"`. + database_labels : list[str] + List of all databases to load and add metadata from + fields : list[str] + Metadata fields to add. """ if not hasattr(self, "df"):