# HG changeset patch # User earlhaminst # Date 1475490401 14400 # Node ID a9d1991c90e3b91a1b498d848bdf1b282cd6036c # Parent 0dbe46f58158028ef315cfa18e815ad5061166b5 planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/export_to_cluster/ commit 7d8a044afcc2cdf4fa7a3c360d9df3990356589c-dirty diff -r 0dbe46f58158 -r a9d1991c90e3 export_to_cluster.py --- 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)