diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-01-26 16:51:21 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-01-26 16:51:21 -0500 |
commit | 3fac599fa1257dafbd12ccd2aa7844051fcb2bf2 (patch) | |
tree | 090c66e19b3d9419e06540e508c104877b2f86b2 /test.py | |
parent | 718fa095677fc976d7bfff3155fb975018d6e1fc (diff) | |
download | scilo-3fac599fa1257dafbd12ccd2aa7844051fcb2bf2.tar.gz |
Removed test.py in favor of scilo_create.py
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test.py b/test.py deleted file mode 100755 index 0f84cea..0000000 --- a/test.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -import argparse -import scilo - -def main(): - parser = argparse.ArgumentParser(description='Generate scientific workflow structure') - parser.add_argument('-c', '--copy-only', default=True, action='store_false', required=False, - help='Do not move original data') - parser.add_argument('-o', '--output-dir', type=str, required=True, - help='Where to store aggregated data, caches, results') - parser.add_argument('input_files', type=str, nargs='*', - help='Example: /path/to/data/*.extension') - arguments = parser.parse_args() - - if not arguments.input_files: - print('Please specify files to aggregate') - exit(1) - - dataset = scilo.scilo(arguments.output_dir) - dataset.aggregate(arguments.input_files, move=arguments.copy_only) - -if __name__ == "__main__": - main() - |