comparison data_manager/data_manager_snpsift_dbnsfp.py @ 6:e57f0b0bc73b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpsift_dbnsfp commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
author iuc
date Thu, 28 Nov 2019 15:48:39 -0500
parents 09f9bfb2b33b
children fe8a9ab8daf9
comparison
equal deleted inserted replaced
5:09f9bfb2b33b 6:e57f0b0bc73b
193 data_manager_dict['data_tables'] = data_manager_dict.get('data_tables', {}) 193 data_manager_dict['data_tables'] = data_manager_dict.get('data_tables', {})
194 data_manager_dict['data_tables'][data_table] = data_manager_dict['data_tables'].get(data_table, []) 194 data_manager_dict['data_tables'][data_table] = data_manager_dict['data_tables'].get(data_table, [])
195 data_manager_dict['data_tables'][data_table].append(data_table_entry) 195 data_manager_dict['data_tables'][data_table].append(data_table_entry)
196 196
197 # save info to json file 197 # save info to json file
198 open(filename, 'wb').write(json.dumps(data_manager_dict)) 198 open(filename, 'w').write(json.dumps(data_manager_dict, sort_keys=True))
199 199
200 200
201 if __name__ == "__main__": 201 if __name__ == "__main__":
202 main() 202 main()