Skip to content

Commit

Permalink
Merge pull request #127 from USEPA/version
Browse files Browse the repository at this point in the history
Add list and tool version to description from fedelemflowlist
  • Loading branch information
bl-young authored Dec 4, 2024
2 parents aa0d144 + f619c58 commit 8201e21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lciafmt/data/description.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
base: >+
[Method][version] is built from LCIA Formatter v[LCIAfmt_version] and
flows from the Federal Elementary Flow List (FEDEFL) v[FEDEFL_version]
flows from v[FEDEFL_version] of the Federal Elementary Flow List (FEDEFL),
using fedelemflowlist v[fedelemflowlist_version].
description: >+
[Method] source file: [url]
Expand Down
1 change: 1 addition & 0 deletions lciafmt/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def generate_method_description(name: str,
desc = (desc
.replace('[LCIAfmt_version]', pkg_version_number)
.replace('[FEDEFL_version]', flow_list_specs['list_version'])
.replace('[fedelemflowlist_version]', flow_list_specs['tool_version'])
.replace('[Method]', method_meta['name'])
.replace('[version]', version)
.replace('[citation]', method_meta['citation'])
Expand Down

0 comments on commit 8201e21

Please sign in to comment.