-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Release 0.40.3 #489
Release 0.40.3 #489
Conversation
allow string representation of converted yaml #369
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 great
yaml_data = yaml.safe_dump(serial, default_flow_style=False) | ||
except yaml.representer.RepresenterError: | ||
_LOGGER.error("Serialized sample data: {}".format(serial)) | ||
raise |
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.
What does this do?
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.
saving config to yaml file
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.
It saves the Sample to yaml
def __eq__(self, other: "SimpleAttMap"): | ||
return self._mapped_attr == other._mapped_attr |
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.
Tests for these? Is the mapped_attr
just a dictionary?
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.
Yeah, I added tests. it is just dict:)
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!
I just realized that this needs to be release v0.40.3 |
# Conflicts: # peppy/_version.py
Small bug fixes
Changes:
peppy.Project
#393peppy.Project.config.to_yaml()
doesn't accurately reproduce original config file #399__eq__
method to peppy.Sample #471