Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing missing label in add_dimension of tuw pol uc #46

Merged
merged 2 commits into from
Jul 14, 2020
Merged

Conversation

bgoesswe
Copy link
Member

@bgoesswe bgoesswe commented Jul 8, 2020

Small fix in the examples process graph (now required "label" attribute was missing in add_dimension)

@bgoesswe bgoesswe requested a review from m-mohr July 8, 2020 12:42
@@ -81,7 +91,8 @@
"from_node": "cr"
},
"name": "bands",
"type": "bands"
"type": "bands",
"label": 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you directly use the label name "B" and then remove the rename_label_cr node?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@m-mohr : Yes, good idea, with the new label parameter this would be the best solution!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes agree, I tried that and at the moment this fails at the GEE backend, I think because "add_dimension" does not set the label to the GEE object yet, but just in the JS metadata.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make a fix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I am on it right now. Should I make a new pull request, or can I just add it here ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be part of this PR, but whatever you prefer.

@m-mohr
Copy link
Member

m-mohr commented Jul 14, 2020

Haven't checked in detail, but seems okay. Thanks.

@m-mohr m-mohr merged commit 7a87b5d into master Jul 14, 2020
@m-mohr m-mohr deleted the fixing_tuw_uc branch August 5, 2020 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants