-
Notifications
You must be signed in to change notification settings - Fork 13
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
Enable local mode and improve podp mode #207
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The new design does not allow users to specify the path to their data files, instead they should always put data files to default paths defined by nplinker. To keep it simple, some settings are removed in the new config template. They could be added later if really needed.
- add function `transform_to_full_path` - add code to create download/extract dir if not exist - update docstrings to specify that the download/extract dir does not have to be exist
Transform `root_dir` to full path.
- add the support of PathLike path
- remove function `podp_run_bigscape` - updated function `run_bigscape`
- remove function `check_integrity` - update md5 checking in function `download_url`
- Add class `DatasetArranger` - Add dataset validation functions `validate_gnps`, `validate_antismash` and `validate_bigscape`
…inker/nplinker into refactor_project_folder_init
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
CunliangGeng
changed the title
redesign the template of config file
Enable local mode and improve podp mode
Feb 27, 2024
GNPS file mappings file could be tsv or csv file. - rename `gnps_file_mapping_tsv_file` to `gnps_file_mappings_file` - rename `tsv_file` to `gnps_file_mappings_file` - update relevant docstrings
- remove extension for `GNPS_FILE_MAPPINGS_FILENAME`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
redesign the template of config file
The new design does not allow users to specify the path to their data files, instead they should always put data files to default paths defined by nplinker.
To keep it simple, some settings are removed in the new config template. They could be added later if really needed.
update default values of config
add validations for all settings
remove config test demo2
update unit test for new configs
update utils.py
transform_to_full_path
Update config.py
Transform
root_dir
to full path.Update mibig_downloader.py
add default data paths to globals
Update globals.py
move PFAM_PATH to where it is used
Update mibig_downloader.py
Update runbigscape.py
podp_run_bigscape
run_bigscape
update utils on checking md5
check_integrity
download_url
Create arranger.py
DatasetArranger
validate_gnps
,validate_antismash
andvalidate_bigscape
Delete downloader.py and its tests
remove running of bigscape in dataset loader
remove func
_start_downloads
from DatasetLoaderremove init paths from DatasetLoader
Merge branch 'refactor_project_folder_init' of https://github.com/NPLinker/nplinker into refactor_project_folder_init