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

update argument from nBits to fpSize to accomodate new datamol version #17

Merged
merged 7 commits into from
Jun 27, 2024

Conversation

tsa87
Copy link
Contributor

@tsa87 tsa87 commented Jun 25, 2024

As discussed in #16, datamol switched from using GetMorganFingerprintAsBitVect to GetMorganGenerator in version 0.12.5. This PR update the argument from nBits to fpSize and set a minimum version for datamol.

Changelogs

  • Update default argument from nBits to fpSize.
  • Fix datamol version to above 0.12.5.

Checklist:

  • Was this PR discussed in an issue? It is recommended to first discuss a new feature into a GitHub issue before opening a PR.
  • Add tests to cover the fixed bug(s) or the newly introduced feature(s) (if appropriate).
  • Update the API documentation if a new function is added, or an existing one is deleted.
  • Write concise and explanatory changelogs above.
  • If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

discussion related to that PR

@tsa87 tsa87 requested a review from cwognum as a code owner June 25, 2024 17:26
@cwognum cwognum added fix and removed feature labels Jun 25, 2024
Copy link
Contributor

@cwognum cwognum left a comment

Choose a reason for hiding this comment

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

Thanks, @tsa87 !

Could you also change this line:

functools.partial(dm.to_fp, as_array=False, radius=2, nBits=1024),

@tsa87
Copy link
Contributor Author

tsa87 commented Jun 26, 2024

@cwognum Done!

@tsa87 tsa87 requested a review from cwognum June 26, 2024 17:16
@cwognum
Copy link
Contributor

cwognum commented Jun 26, 2024

Thanks again @tsa87 !

Unfortunately, the test cases are failing. Could you look into this? And one more comment after a second review on my end: Could you also update pyproject.toml?

@tsa87
Copy link
Contributor Author

tsa87 commented Jun 26, 2024

Thanks @cwognum! I've updated the argument for the failing test and pyproject.toml for datamol version.

@cwognum
Copy link
Contributor

cwognum commented Jun 26, 2024

@tsa87 The failing CICD is not your mistake. It's due to conda-forge/mkdocs-jupyter-feedstock#31.

The workaround would be to change the CICD doc workflow to upgrade mkdocs-jupyter like I've done here in polaris. I would do it myself, but don't have write access to the branch. Sorry about that!

@cwognum
Copy link
Contributor

cwognum commented Jun 27, 2024

Correction: I was actually able to do it myself! Thanks for the work, @tsa87 ! 😄

@cwognum cwognum merged commit 00a07ed into datamol-io:main Jun 27, 2024
3 of 4 checks passed
@tsa87
Copy link
Contributor Author

tsa87 commented Jun 27, 2024

Awesome @cwognum great to hear the issue was resolved!

@tsa87 tsa87 deleted the fp_argument branch July 1, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants