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

Pass interaction parameters to Fingerprint at initialization #118

Closed
cbouy opened this issue Apr 21, 2023 · 0 comments · Fixed by #128
Closed

Pass interaction parameters to Fingerprint at initialization #118

cbouy opened this issue Apr 21, 2023 · 0 comments · Fixed by #128
Labels
enhancement New feature or request
Milestone

Comments

@cbouy
Copy link
Member

cbouy commented Apr 21, 2023

Allow passing a kwargs dict when initializing a Fingerprint object:

fp = plf.Fingerprint(
    parameters={
        "Hydrophobic": {
            "distance": 4.0
        }
    }
)
@cbouy cbouy added this to the v2.0.0 milestone Apr 21, 2023
@cbouy cbouy added the enhancement New feature or request label Apr 21, 2023
cbouy added a commit that referenced this issue Apr 30, 2023
- Added a `parameters` argument in `Fingerprint` to easily update the parameters used
  by an interaction, instead of defining a new interaction class (Issue #118).
- Added new abstract interaction classes `SingleAngle` and `DoubleAngle` to more easily
  create custom interactions.
- The multiprocessing and pickling backends have been switched to `multiprocess` and
  `dill` respectively, and the parallel implementation has been improved. Users should
  now be able to define custom interactions in Jupyter notebooks, IPython and so on
  without any issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant