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

refactor NPLinker class #256

Merged
merged 12 commits into from
Jun 14, 2024
Merged

refactor NPLinker class #256

merged 12 commits into from
Jun 14, 2024

Conversation

CunliangGeng
Copy link
Member

@CunliangGeng CunliangGeng commented Jun 10, 2024

Finally, it's ready to refactor the main class NPLinker.

It's better to review in the order of commits.

It's necessary to add some new methods to this class, e.g. pickling data, but they will be added in next PRs. When pickling data is done, then it's ready to start the dev of webapp.

src/nplinker/nplinker.py Outdated Show resolved Hide resolved
src/nplinker/__init__.py Show resolved Hide resolved
- MolecularFamily
self, objects: Sequence[BGC], scoring_method: str, **scoring_params
) -> LinkGraph: ...
@overload
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't know this decorator. Very handy!

Copy link
Member Author

CunliangGeng commented Jun 14, 2024

Merge activity

  • Jun 14, 7:27 AM EDT: @CunliangGeng started a stack merge that includes this pull request via Graphite.
  • Jun 14, 7:33 AM EDT: Graphite rebased this pull request as part of a merge.
  • Jun 14, 7:34 AM EDT: @CunliangGeng merged this pull request with Graphite.

Base automatically changed from rename_molfam_to_mf to dev June 14, 2024 11:31
@CunliangGeng CunliangGeng merged commit fc9ddec into dev Jun 14, 2024
2 of 3 checks passed
@CunliangGeng CunliangGeng deleted the refactor_NPLinker_methods branch June 14, 2024 11:34
Copy link

sonarcloud bot commented Jun 14, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
49.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

This was referenced Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants