-
Notifications
You must be signed in to change notification settings - Fork 38
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
[BugFix] Fixing descriptions of inversed NamedTransforms #117
[BugFix] Fixing descriptions of inversed NamedTransforms #117
Conversation
Generate the transform description based on the transform's direction. Resolves: AcademySoftwareFoundation#111 Signed-off-by: Allison Moon <147774452+ajymoonILM@users.noreply.github.com>
Thanks for this fix @ajymoonILM ! I had to manually start the CI unit tests, since you are a new contributor. It looks like they will succeed. Please let us know if you have suggestions for how to improve the installation instructions (at a minimum it seems we need to clarify that one should start a Poetry shell before using the invoke command). |
Thanks a lot @ajymoonILM! I haven't checked the artifacts but the code seems to do what we want! The only thing I have to say is that I would prefer to rename OpenColorIO-Config-ACES/opencolorio_config_aces/config/reference/generate/analytical.py Line 159 in 10a851a
|
- changing function args from `inverse_direction` (bool) to `direction` (str) Signed-off-by: Allison Moon <147774452+ajymoonILM@users.noreply.github.com>
Thanks @KelSolaar ! |
@@ -204,7 +205,7 @@ def clf_transform_to_description( | |||
DescriptionStyle.SHORT_UNION, | |||
): | |||
if clf_transform.description is not None: | |||
if inverse_direction: | |||
if direction == "Forward": |
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.
maybe if direction.lower() == "forward":
so that it becomes case insensitive?
LGTM otherwise and thank you!
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.
Updated with the case insensitive check.
Let me know of anything else that needs to be addressed!
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.
We are good! Thanks a lot @ajymoonILM!
- Case-insensitive check of `direction` args Signed-off-by: Allison Moon <147774452+ajymoonILM@users.noreply.github.com>
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.
LGTM!
Generate the transform description based on the transform's direction.
Resolves: #111