Mercurial > repos > iuc > data_manager_mash_sketch_builder
comparison data_manager/mash_sketch_builder.py @ 1:b6016642539d draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_mash_sketch_builder/ commit 848c47fb29e9f1d319056a94a7dbd90129a4aafc"
author | iuc |
---|---|
date | Tue, 07 Apr 2020 23:20:17 -0400 |
parents | 2af9137ba067 |
children | ce1d5c8d5bff |
comparison
equal
deleted
inserted
replaced
0:2af9137ba067 | 1:b6016642539d |
---|---|
62 data_manager_input = json.loads(open(args.data_manager_json).read()) | 62 data_manager_input = json.loads(open(args.data_manager_json).read()) |
63 | 63 |
64 target_directory = data_manager_input['output_data'][0]['extra_files_path'] | 64 target_directory = data_manager_input['output_data'][0]['extra_files_path'] |
65 | 65 |
66 try: | 66 try: |
67 os.mkdir( target_directory ) | 67 os.mkdir(target_directory) |
68 except OSError as exc: | 68 except OSError as exc: |
69 if exc.errno == errno.EEXIST and os.path.isdir( target_directory ): | 69 if exc.errno == errno.EEXIST and os.path.isdir(target_directory): |
70 pass | 70 pass |
71 else: | 71 else: |
72 raise | 72 raise |
73 | 73 |
74 data_manager_output = {} | 74 data_manager_output = {} |