-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parallelization unnecessary external calls fix (#126)
* initial work * new parallelization preliminary done * small fix in tests * commented unnecessary code * updated construction sites * hopefully fixed parallelization * small test fix * initial work * new parallelization preliminary done * small fix in tests * commented unnecessary code * updated construction sites * hopefully fixed parallelization * small test fix * only print when verbosity > 0, otherwise nothing is printed (bad) * pre-commit fixes * added ncores to config + implemented setting ncores for external programs * fixed tests * added check for number of cores available vs needed * pre-commit * test fix * fixed tm implementation * updated main.py * tqdm progress bar * updated dependencies * mypy types import * moved warnings in correct bracket * updated default config toml * added final output of molecules and timing * fixed time * better time info * print formatting * shift block setup to parallel.py Signed-off-by: Marcel Müller <[email protected]> * avoid UnboundLocalError Signed-off-by: Marcel Müller <[email protected]> * some code formatting and printout adjustments Signed-off-by: Marcel Müller <[email protected]> * shifted CHANGELOG entry to correct position Signed-off-by: Marcel Müller <[email protected]> * update CODEOWNERS file Signed-off-by: Marcel Müller <[email protected]> * parallelization unnecessary external calls in case of stop_event set fixed * test fix * extend stop_event check also for postprocessing part Signed-off-by: Marcel Müller <[email protected]> * Update src/mindlessgen/molecules/refinement.py Co-authored-by: Marcel Mueller <[email protected]> * coding practice * Update src/mindlessgen/generator/main.py Co-authored-by: Marcel Mueller <[email protected]> * Update src/mindlessgen/generator/main.py Co-authored-by: Marcel Mueller <[email protected]> * Update src/mindlessgen/generator/main.py Co-authored-by: Marcel Mueller <[email protected]> --------- Signed-off-by: Marcel Müller <[email protected]> Co-authored-by: Marcel Müller <[email protected]>
- Loading branch information
Showing
5 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
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
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
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
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
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