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

deprecate the method _load_class_info #198

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

CunliangGeng
Copy link
Member

@CunliangGeng CunliangGeng commented Dec 12, 2023

Deprecate the method _load_class_info at the moment (these annotations data is not needed now). The method requires refactoring, but we will do it when handling annotations.

ℹ️ To refactor the following when dealing with annotations:

  • running of CANOPUS to predict chemical classes
  • loading chemical classes to annotate spectra and molecular families

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 guess these few changes are not very meaningful now, but will be

@CunliangGeng
Copy link
Member Author

I guess these few changes are not very meaningful now, but will be

you're right. Deprecating them instead of removing will make it easier for refactoring later ;-)

Copy link
Member Author

CunliangGeng commented Jan 24, 2024

Merge activity

Base automatically changed from 12-11-update_loading_genomics to dev January 24, 2024 15:22
To refactor the following when dealing with annotations:
- running of CANOPUS to predict chemical classes
- loading chemical classes to annotate spectra and moleclar families
add explicit attribute `self.chem_classes` to make class `NPLinker` workable.
add explicit attribute `self.cless_matches` to make class `NPLinker` workable.
@CunliangGeng CunliangGeng force-pushed the 12-12-deprecate_loading_chemical_classes branch from 262b6b5 to b714bed Compare January 24, 2024 15:23
@CunliangGeng CunliangGeng merged commit c4f6687 into dev Jan 24, 2024
1 of 2 checks passed
@CunliangGeng CunliangGeng deleted the 12-12-deprecate_loading_chemical_classes branch January 24, 2024 15:24
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