changeset 1:a9d1991c90e3 draft

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/export_to_cluster/ commit 7d8a044afcc2cdf4fa7a3c360d9df3990356589c-dirty
author earlhaminst
date Mon, 03 Oct 2016 06:26:41 -0400
parents 0dbe46f58158
children b97775e9fe06
files export_to_cluster.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/export_to_cluster.py	Thu Aug 11 15:27:30 2016 -0400
+++ b/export_to_cluster.py	Mon Oct 03 06:26:41 2016 -0400
@@ -16,9 +16,9 @@
     parser.error('Export directory cannot be empty')
 if not options.dir_prefix:
     parser.error('Directory prefix cannot be empty')
-if len(args) < 2:
+if len(args) < 3:
     parser.error('Require at least two arguments')
-if len(args) % 2 != 0:
+if len(args) % 3 != 0:
     parser.error('Require an even number of arguments')
 
 real_export_dir = os.path.realpath(options.export_dir)