Skip to content

Commit

Permalink
Merge pull request #323 from nsidc/add-same-type-linking
Browse files Browse the repository at this point in the history
Allow links between same nodetypes
  • Loading branch information
rmarow authored Oct 1, 2024
2 parents ca098ff + 6c45e77 commit 335da3e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v2.2.0 (2024-10-01)

* Allow ndes of same type to link

## v2.1.0 (2024-09-26)

* Increase length of description columns to 4096 chars.
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ type: "software"
# https://github.com/zenodo/zenodo/issues/2515
license: "MIT"

version: 2.1.0
date-released: "2024-09-26"
version: 2.2.0
date-released: "2024-10-01"
url: "https://github.com/nsidc/usaon-benefit-tool"

authors:
Expand Down
2 changes: 1 addition & 1 deletion VERSION.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export USAON_BENEFIT_TOOL_VERSION="v2.1.0"
export USAON_BENEFIT_TOOL_VERSION="v2.2.0"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "usaon_benefit_tool"
description = "Gather data for US AON's Value Tree Analysis (Benefit Tool) process"
version = "2.1.0"
version = "2.2.0"
url = "git@github.com:nsidc/usaon-benefit-tool.git"
authors = [
{name = "National Snow and Ice Data Center", email = "nsidc@nsidc.org"},
Expand Down Expand Up @@ -106,7 +106,7 @@ max-complexity = 8
inline-quotes = "double"

[tool.bumpversion]
current_version = "2.1.0"
current_version = "2.2.0"
commit = false
tag = false

Expand Down
3 changes: 3 additions & 0 deletions usaon_benefit_tool/constants/sankey.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

# NOTE: Each tuple is directional: `(from_node_type, to_node_type)`
ALLOWED_LINKS: Final[list[tuple[NodeType, NodeType]]] = [
(NodeType.OBSERVING_SYSTEM, NodeType.OBSERVING_SYSTEM),
(NodeType.OBSERVING_SYSTEM, NodeType.DATA_PRODUCT),
(NodeType.DATA_PRODUCT, NodeType.DATA_PRODUCT),
(NodeType.DATA_PRODUCT, NodeType.APPLICATION),
(NodeType.APPLICATION, NodeType.APPLICATION),
(NodeType.APPLICATION, NodeType.SOCIETAL_BENEFIT_AREA),
]
2 changes: 1 addition & 1 deletion usaon_benefit_tool/constants/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "2.1.0"
VERSION = "2.2.0"

0 comments on commit 335da3e

Please sign in to comment.