Mercurial > repos > agpetit > visualize_pore_diameter_aqp
diff cut_trajectory.py @ 10:bff6c4ff9a68 draft
"planemo upload for repository https://github.com/mesocentre-clermont-auvergne/aubi_piaf commit 434f3e872798e786f0c6a88939455692f711496c"
author | agpetit |
---|---|
date | Wed, 01 Jun 2022 10:06:13 +0000 |
parents | 170982ed1569 |
children | 1f08a90393be |
line wrap: on
line diff
--- a/cut_trajectory.py Mon May 30 15:52:43 2022 +0000 +++ b/cut_trajectory.py Wed Jun 01 10:06:13 2022 +0000 @@ -265,7 +265,7 @@ + "_" + str(k) + ".log") try: os.makedirs(log_directory, exist_ok=True) - except OSError as error: + except OSError: print("Directory '%s' can not be created") f_log = open(logging_file, "w") subprocess.run(bash_command, shell=True, stdout=f_log, stderr=f_log) @@ -362,5 +362,3 @@ list_nbr_sub_traj, gro, xtc, out_directory, log_file, args.group_output, nb_cpus ) - -