Mercurial > repos > bgruening > data_manager_diamond_database_builder
changeset 10:5f15a8bcca72 draft
Uploaded
author | bgruening |
---|---|
date | Sun, 08 Feb 2015 04:04:23 -0500 |
parents | a54ec247ad52 |
children | 1b449216bf00 |
files | data_manager/data_manager_diamond_database_builder.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data_manager/data_manager_diamond_database_builder.py Sun Feb 08 04:00:13 2015 -0500 +++ b/data_manager/data_manager_diamond_database_builder.py Sun Feb 08 04:04:23 2015 -0500 @@ -201,14 +201,14 @@ sys.exit( return_code ) tmp_stderr.close() os.remove( temp_fasta.name ) - return dict( value=database_id, name=database_name, path="%s.dmnd" % fasta_base_filename ) + return dict( value=database_id, name=database_name, db_path="%s.dmnd" % fasta_base_filename ) def _create_symlink( input_filename, target_directory, database_id, database_name ): fasta_base_filename = "%s.fa" % database_id fasta_filename = os.path.join( target_directory, fasta_base_filename ) os.symlink( input_filename, fasta_filename ) - return dict( value=database_id, name=database_name, path=fasta_base_filename ) + return dict( value=database_id, name=database_name, db_path=fasta_base_filename ) REFERENCE_SOURCE_TO_DOWNLOAD = dict( ncbi=download_from_ncbi, url=download_from_url, history=download_from_history, directory=copy_from_directory )