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

Smaller fixes from branch serialization_2020 #227

Merged
merged 9 commits into from
Apr 22, 2020
Merged

Conversation

SebastianJL
Copy link
Contributor

@SebastianJL SebastianJL commented Apr 16, 2020

Some smaller fixes and improvements while studying the file parameter.py.

One bigger change is to change ZfitParameter.shape from a property that raises NotImplementedError to an abstract parameter.

Added Tests

  • test_shape_parameter()
  • test_shape_composed_parameter()

@SebastianJL
Copy link
Contributor Author

Proposition: Combine BaseComposedParameter and ComposedParameter into one class. What is the benefit of having these two separated?

@jonas-eschle
Copy link
Contributor

yeah, that's true actually, I think the idea was to use it as base also for Complex and similar. Let's merge the two PRs though and look again at it later on, okay (otherwise we'll have many conflicts I fear)? maybe it's worth with the dumping to have this extra class and let complex etc inherit from it

Deleted obsolete kwargs parameter in ComplexParameter.from_polar().
@SebastianJL SebastianJL merged commit 394366e into develop Apr 22, 2020
@SebastianJL SebastianJL deleted the serialization_2020 branch July 3, 2020 07:38
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.

None yet

2 participants