diff cut_trajectory.py @ 5:8b674b087f72 draft

"planemo upload for repository https://github.com/mesocentre-clermont-auvergne/aubi_piaf commit 434f3e872798e786f0c6a88939455692f711496c"
author agpetit
date Wed, 01 Jun 2022 10:08:19 +0000
parents d7357b5da2ce
children adb40c1365a5
line wrap: on
line diff
--- a/cut_trajectory.py	Mon May 30 15:54:50 2022 +0000
+++ b/cut_trajectory.py	Wed Jun 01 10:08:19 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
     )
-
-