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

fix(map): Add binary option to several functions #65

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

mikkelkp
Copy link
Contributor

Merge ladybug-tools/ladybug-comfort#372 first and wait for new release.

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',
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@chriswmackey chriswmackey left a 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.

@@ -291,14 +291,24 @@ class UtciMap(Function):
'will be for the entire result_sql run period.', default=''
)

plain_text = Inputs.str(
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@chriswmackey chriswmackey left a comment

Choose a reason for hiding this comment

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

LGTM! Merged!

@chriswmackey chriswmackey merged commit fd7806d into pollination:master Jul 29, 2024
6 checks passed
Copy link

🎉 This issue has been resolved in version 0.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mikkelkp mikkelkp deleted the binary branch July 29, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants