comparison data_manager/bwameth_index_builder.py @ 3:e7ca32457e36 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/data_managers/data_manager_bwameth_index_builder commit 471c497769f0dbfa92ec1a91f4044062cb5f7a83
author iuc
date Thu, 21 Sep 2017 13:05:25 -0400
parents a7fb84abef45
children 5ab25caa7b7d
comparison
equal deleted inserted replaced
2:82a21d695a6b 3:e7ca32457e36
22 proc = subprocess.Popen(args=cmd, shell=False, cwd=target_directory) 22 proc = subprocess.Popen(args=cmd, shell=False, cwd=target_directory)
23 return_code = proc.wait() 23 return_code = proc.wait()
24 if return_code: 24 if return_code:
25 print >> sys.stderr, "Error building index." 25 print >> sys.stderr, "Error building index."
26 sys.exit( return_code ) 26 sys.exit( return_code )
27 data_table_entry = dict(value=args.dbKey, dbkey=args.dbkey, name=args.name, path=args.dbKey) 27 data_table_entry = dict(value=args.dbkey, dbkey=args.dbkey, name=args.name, path=sym_linked_fasta_filename)
28 _add_data_table_entry(data_manager_dict, data_table_name, data_table_entry) 28 _add_data_table_entry(data_manager_dict, data_table_name, data_table_entry)
29 29
30 30
31 def _add_data_table_entry( data_manager_dict, data_table_name, data_table_entry ): 31 def _add_data_table_entry( data_manager_dict, data_table_name, data_table_entry ):
32 data_manager_dict['data_tables'] = data_manager_dict.get( 'data_tables', {} ) 32 data_manager_dict['data_tables'] = data_manager_dict.get( 'data_tables', {} )