Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@CunliangGeng
Copy link
Member

@CunliangGeng CunliangGeng commented May 31, 2024

The role of class DataLinks is to calculate the presence and co-presence for given e.g. GCFs, spectra and strains. The presence matrix are required to compute the Metcalf scores.

This PR merge the role DataLinks to MetCalfScoring and utils to improve the clarity of codebase and to simplify the scoring process.

DataLinks also has a get_common_strains method that will be merged to ObjectLink class in next PR.

Major changes:

  • move functions of calculating presence to utils
  • merge function of calculating co-presence and raw score to MetcalfScoring
  • remove whole linking folder
  • remove deprecated and unused code

@CunliangGeng CunliangGeng self-assigned this May 31, 2024
@CunliangGeng CunliangGeng requested a review from gcroci2 May 31, 2024 08:58
@CunliangGeng CunliangGeng marked this pull request as ready for review May 31, 2024 08:58
@CunliangGeng CunliangGeng force-pushed the merge_LinkFinder_to_MetcalfScoring branch from 3a92298 to 89aa35e Compare June 6, 2024 07:16
@CunliangGeng CunliangGeng force-pushed the merge_DataLinks_to_MetcalfScoring branch from 52960e6 to 7ef55a9 Compare June 6, 2024 07:16
@CunliangGeng CunliangGeng force-pushed the merge_LinkFinder_to_MetcalfScoring branch from 89aa35e to 145bd22 Compare June 6, 2024 07:20
@CunliangGeng CunliangGeng force-pushed the merge_DataLinks_to_MetcalfScoring branch 2 times, most recently from be49128 to abdc779 Compare June 6, 2024 07:24
@CunliangGeng CunliangGeng force-pushed the merge_LinkFinder_to_MetcalfScoring branch from 3974c23 to d13d883 Compare June 6, 2024 07:27
Base automatically changed from merge_LinkFinder_to_MetcalfScoring to dev June 6, 2024 07:29
@CunliangGeng CunliangGeng force-pushed the merge_DataLinks_to_MetcalfScoring branch from abdc779 to 1857d31 Compare June 6, 2024 13:49
Copy link
Member Author

CunliangGeng commented Jun 10, 2024

Merge activity

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.