Mercurial > repos > matt-shirley > json_data_source
comparison json_data_source.py @ 6:46b589e9747a
Remove underscore from extra_files_path.
author | Matt Shirley <mdshw5@gmail.com> |
---|---|
date | Thu, 10 Jul 2014 12:26:05 -0400 |
parents | 33fa019735a4 |
children | ac7b4cab83cd |
comparison
equal
deleted
inserted
replaced
5:33fa019735a4 | 6:46b589e9747a |
---|---|
106 target_output_filename, | 106 target_output_filename, |
107 ds_type='dataset' | 107 ds_type='dataset' |
108 primary=primary) ) | 108 primary=primary) ) |
109 download_from_query( query_item, target_output_filename ) | 109 download_from_query( query_item, target_output_filename ) |
110 if extra_data: | 110 if extra_data: |
111 download_extra_data( extra_data, '_'.join( [ target_output_filename, 'files' ] ) ) | 111 extra_files_path = ''.join( [ target_output_filename, 'files' ] ) |
112 download_extra_data( extra_data, extra_files_path ) | |
112 return True | 113 return True |
113 | 114 |
114 | 115 |
115 def set_up_config_values(json_params): | 116 def set_up_config_values(json_params): |
116 """ Parse json_params file and return a tuple of necessary configuration | 117 """ Parse json_params file and return a tuple of necessary configuration |