Skip to content

refactor NPLinker class#256

Merged
CunliangGeng merged 12 commits into
devfrom
refactor_NPLinker_methods
Jun 14, 2024
Merged

refactor NPLinker class#256
CunliangGeng merged 12 commits into
devfrom
refactor_NPLinker_methods

Conversation

@CunliangGeng

@CunliangGeng CunliangGeng commented Jun 10, 2024

Copy link
Copy Markdown
Member

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.

@CunliangGeng CunliangGeng requested a review from gcroci2 June 10, 2024 15:56
@CunliangGeng CunliangGeng self-assigned this Jun 10, 2024
@CunliangGeng CunliangGeng marked this pull request as ready for review June 10, 2024 15:57
@CunliangGeng CunliangGeng force-pushed the rename_molfam_to_mf branch from 450f78d to 916e1c3 Compare June 13, 2024 11:23
@CunliangGeng CunliangGeng force-pushed the refactor_NPLinker_methods branch from e9776df to ea42a68 Compare June 13, 2024 11:23
Comment thread src/nplinker/nplinker.py Outdated
Comment thread src/nplinker/__init__.py
Comment thread src/nplinker/nplinker.py
- MolecularFamily
self, objects: Sequence[BGC], scoring_method: str, **scoring_params
) -> LinkGraph: ...
@overload

Copy link
Copy Markdown
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!

@CunliangGeng CunliangGeng force-pushed the rename_molfam_to_mf branch from 916e1c3 to 984d72b Compare June 14, 2024 08:42
@CunliangGeng CunliangGeng force-pushed the refactor_NPLinker_methods branch from ea42a68 to e7f0420 Compare June 14, 2024 08:42
@CunliangGeng CunliangGeng mentioned this pull request Jun 14, 2024

CunliangGeng commented Jun 14, 2024

Copy link
Copy Markdown
Member Author

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.

@CunliangGeng CunliangGeng force-pushed the rename_molfam_to_mf branch from 984d72b to 3f997ff Compare June 14, 2024 11:29
Base automatically changed from rename_molfam_to_mf to dev June 14, 2024 11:31
@CunliangGeng CunliangGeng force-pushed the refactor_NPLinker_methods branch from e7f0420 to 155f7f8 Compare June 14, 2024 11:32
@CunliangGeng CunliangGeng merged commit fc9ddec into dev Jun 14, 2024
@CunliangGeng CunliangGeng deleted the refactor_NPLinker_methods branch June 14, 2024 11:34
@sonarqubecloud

Copy link
Copy Markdown

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