This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
[Feature] New Edge Attribute: AttributeFromNode #95
Open
icedoom888
wants to merge
16
commits into
ecmwf:develop
Choose a base branch
from
MeteoSwiss:feature/edge_attr_from_node_attr
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7353f83
Implemented new attribute
icedoom888 fa5ce52
changelog update
icedoom888 1bc0113
changelog update
icedoom888 919d0ad
Refactored following review
icedoom888 40394e4
Update src/anemoi/graphs/edges/attributes.py
icedoom888 77b2335
Update src/anemoi/graphs/edges/attributes.py
icedoom888 a58dae6
Update src/anemoi/graphs/edges/attributes.py
icedoom888 ab2f6a3
Update src/anemoi/graphs/edges/attributes.py
icedoom888 11387b7
Refactor after review
icedoom888 8602b15
Docstring done
icedoom888 18e9a75
Docstring done
icedoom888 89af39a
Docstring done
icedoom888 d3611d3
Fixed ABC issue
icedoom888 5cc3ca8
addressed changes in docs and exception error
icedoom888 7af61c2
Changed changelog
icedoom888 0a48b4f
Merge branch 'develop' into feature/edge_attr_from_node_attr
icedoom888 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would group all new documentation under the same header "Attribute from Node" (or "Attribute from Source/Target Node"), so we get the left sidebar with the 3 types of attributes: Edge direction, edge length, attribute from node. Now:

I would drop the 1st and 3rd yaml examples, and also the subheaders. If you think it needs some explanation, you can also add a comment after a "#" in the yaml example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done ✅