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 loading genomics #168

Merged
merged 21 commits into from
Aug 24, 2023
Merged

Refactor loading genomics #168

merged 21 commits into from
Aug 24, 2023

Conversation

CunliangGeng
Copy link
Member

This PR intends to refactor the loading of strain mappings for genomics part, which involves the loading of not only the strain mappings but also genomics data (e.g. BGC, GCF).

The major changes:

  • Update the logics of DatasetLoader._load_genomics method with newly created/refactored functions/classes
  • Update the logics of StrainCollection methods add, remove and lookup
  • Update or add methods to classes GCF, MibigBGCLoader, Strain and StrainCollection

Expected Failed test: test_load_metabolomics

Copy link
Contributor

@gcroci2 gcroci2 left a comment

Choose a reason for hiding this comment

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

I left very minor comments :)

tests/test_strain.py Show resolved Hide resolved
src/nplinker/strain_collection.py Outdated Show resolved Hide resolved
tests/test_strain_collection.py Show resolved Hide resolved
@CunliangGeng CunliangGeng merged commit 80a8299 into dev Aug 24, 2023
2 of 4 checks passed
@CunliangGeng CunliangGeng deleted the refactor_loading_genomics branch August 24, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants