Skip to content

Append underscore to transformed variable names #1215

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

Merged
merged 5 commits into from
Jul 5, 2016
Merged

Conversation

fonnesbeck
Copy link
Member

We no longer have to keep track of transformed variables due to this naming convention. Plots now exclude variables if the name contains an underscore (can be overridden with flag argument).

Closes #1168

@twiecki
Copy link
Member

twiecki commented Jul 1, 2016

LGTM. I wonder if relying on a particular endswith introduces some brittleness. I suppose before we had a flag hidden and I do like the simplification that comes with removing that so I'm not sure, might be fine.

@fonnesbeck
Copy link
Member Author

Thought about that as well, but given that it only gets used to hide output being displayed, the cost of the potential brittleness is pretty low.

@fonnesbeck
Copy link
Member Author

We could add a warning when you create a variable ending in an underscore.

@twiecki
Copy link
Member

twiecki commented Jul 1, 2016

Doesn't seem like a huge deal either way. I'm also fine just mergnig as is.

@twiecki twiecki merged commit f1e656c into master Jul 5, 2016
@twiecki twiecki deleted the transform_rename_ branch July 5, 2016 07:10
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.

2 participants