Swarm-CG: Automatic Parametrization of Bonded Terms in MARTINI-based Coarse-Grained Models of Simple to Complex Molecules via Fuzzy Self-Tuning Particle Swarm Optimization
# create new directory for new parameters evaluation
current_eval_dir = f'{config.iteration_sim_files_dirname}_eval_step_{ns.nb_eval}'
shutil.copytree(config.input_sim_files_dirname, current_eval_dir)
We found that there is a bug in the copytree function on WSL (https://bugs.python.org/issue38633). A temporary fix could be to add the following lines at the beginning of the file:
Thank you @maurobedoya for adding this issue and for the suggestion. Will take this into account in the development of the refactoring currently ongoing in the develop branch.
Dear Swarm-CG creators,
Running the
scg_optimize
executable on WSL crashes with the following error:We traced the error to line 2690 in
swarmCG.py
:We found that there is a bug in the
copytree
function on WSL (https://bugs.python.org/issue38633). A temporary fix could be to add the following lines at the beginning of the file:Thanks to @franciscoadasme for his help in the debugging.
I hope this helps!