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

remove loading of optional data #199

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

CunliangGeng
Copy link
Member

@CunliangGeng CunliangGeng commented Dec 12, 2023

The optional data, including GNPS params.xml file and description text, are not needed for core business of NPLinker. To keep the loading process simple (to keep refactored NPLinker as a minimum viable product), the loading of optional data is removed. If these data are needed in the future, specific loaders should be added for them.

@CunliangGeng CunliangGeng force-pushed the 12-12-deprecate_loading_chemical_classes branch from 06340eb to e164eaa Compare December 14, 2023 08:33
@CunliangGeng CunliangGeng force-pushed the 12-12-remove_loading_optional_data branch from db67ce5 to 9b08108 Compare December 14, 2023 08:33
@CunliangGeng CunliangGeng force-pushed the 12-12-deprecate_loading_chemical_classes branch from e164eaa to a0410ca Compare December 14, 2023 10:00
@CunliangGeng CunliangGeng force-pushed the 12-12-remove_loading_optional_data branch from 9b08108 to 256692a Compare December 14, 2023 10:00
@CunliangGeng CunliangGeng force-pushed the 12-12-deprecate_loading_chemical_classes branch from a0410ca to 42793a8 Compare December 19, 2023 13:21
@CunliangGeng CunliangGeng force-pushed the 12-12-remove_loading_optional_data branch from 256692a to f7bd16d Compare December 19, 2023 13:21
@CunliangGeng CunliangGeng force-pushed the 12-12-deprecate_loading_chemical_classes branch from 42793a8 to ecb03e8 Compare December 19, 2023 13:38
@CunliangGeng CunliangGeng force-pushed the 12-12-remove_loading_optional_data branch from f7bd16d to ee755e0 Compare December 19, 2023 13:38
Copy link
Member Author

CunliangGeng commented Jan 24, 2024

Merge activity

@CunliangGeng CunliangGeng force-pushed the 12-12-deprecate_loading_chemical_classes branch from 262b6b5 to b714bed Compare January 24, 2024 15:23
Base automatically changed from 12-12-deprecate_loading_chemical_classes to dev January 24, 2024 15:24
To keep the loading process simple, the loading of GNPS params.xml file is removed. If the GNPS params data is needed in the future, a specific loader in the module `GNPS` should be created for that.
To keep the loading process simple, the loading of description text is removed. A specific loader could be added in the future if these info is necessary in NPLinker.

Note that the method `_load_optional` is then totally removed.
@CunliangGeng CunliangGeng force-pushed the 12-12-remove_loading_optional_data branch from 0f4bc7c to f0235cb Compare January 24, 2024 15:25
@CunliangGeng CunliangGeng merged commit a709913 into dev Jan 24, 2024
1 of 2 checks passed
@CunliangGeng CunliangGeng deleted the 12-12-remove_loading_optional_data branch January 24, 2024 15:27
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