-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix(map): Add binary option to several functions #65
Conversation
pollination/ladybug_comfort/map.py
Outdated
plain_text = Inputs.str( | ||
description='Flag to note whether the output should be formatted as a ' | ||
'plain text CSV or whether it should be formatted as a binary numpy ' | ||
'array.', default='plain-text', |
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 think we should add a sentence to indicate why the user should pick one over the other. Not everyone would know the difference between the two, and the right choice for their case.
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.
@mostaphaRoudsari, I expanded the description of the input.
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 and thanks for updating the CI deps.
I just have one comment on the naming and then we can merge.
pollination/ladybug_comfort/map.py
Outdated
@@ -291,14 +291,24 @@ class UtciMap(Function): | |||
'will be for the entire result_sql run period.', default='' | |||
) | |||
|
|||
plain_text = Inputs.str( |
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 we should call this output_format
since that's a better description of what this pollination function is.
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 changed the name of the function input.
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! Merged!
🎉 This issue has been resolved in version 0.5.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Merge ladybug-tools/ladybug-comfort#372 first and wait for new release.