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

Remove Tag attribute from MeasureSet #754

Merged
merged 7 commits into from
Jul 13, 2023

Conversation

emanuel-schmid
Copy link
Collaborator

@emanuel-schmid emanuel-schmid commented Jul 12, 2023

Changes proposed in this PR:

  • simply remove the attribute, leaving out any descriptions when initializing an object

This PR fixes #

PR Author Checklist

PR Reviewer Checklist

Copy link
Member

@peanutfun peanutfun left a comment

Choose a reason for hiding this comment

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

Looking good! The tag is still mentioned in the measure set tutorial. Can you remove it from there, too?

@@ -122,32 +116,28 @@ def __init__(
... paa_impact=(1, 0),
... )
>>> meas = MeasureSet(
... measure_list=[act_1],
... tag=Tag(description="my dummy MeasureSet.")
... measure_list=[act_1]
Copy link
Member

Choose a reason for hiding this comment

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

The constructor only takes a single argument now, so I think we can suggest leaving out the keyword like so:

meas = MeasureSet([act_1])

(I cannot post a suggestion on deleted lines...)

@peanutfun peanutfun merged commit c9e9b58 into develop Jul 13, 2023
4 checks passed
@emanuel-schmid emanuel-schmid deleted the feature/remove_tags_measureset branch July 13, 2023 10:15
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