-
Notifications
You must be signed in to change notification settings - Fork 648
DYN-8609: GroupBySimilarity node minor update #16034
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
Conversation
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.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-8609
src/Libraries/CoreNodes/List.cs
Outdated
bool isNumeric = firstElementType == typeof(int) || firstElementType == typeof(float) || firstElementType == typeof(double) || firstElementType == typeof(long); | ||
bool isString = firstElementType == typeof(string); | ||
|
||
if (isNumeric && list.Cast<object>().Any(item => !(item is int || item is float || item is double))) |
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.
check for long here?
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.
added
@@ -462,8 +462,8 @@ | |||
"ScaleFactor": 1.0, | |||
"HasRunWithoutCrash": true, | |||
"IsVisibleInDynamoLibrary": true, | |||
"Version": "3.5.0.8100", | |||
"RunType": "Manual", | |||
"Version": "3.6.0.6885", |
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.
When cherrypicking this to 3.5 master, this version field needs to be changed?
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
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.
Looks good, just a comment about the cherrypicking.
(cherry picked from commit 82f9158)
Successfully created backport PR for |
Purpose
Update GroupBySimilarity node to only allow lists as inputs with only numbers or only strings but not both.
Update max string tolerance value to 10.
Update node help docs
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Reviewers
@DynamoDS/eidos