Mercurial > repos > iuc > data_manager_manual
comparison data_manager/data_manager_manual.py @ 4:d17c507ec2f8 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit b775a4c6248f00430a9ab1b2a4e1afa255ac57a2"
| author | iuc |
|---|---|
| date | Wed, 16 Oct 2019 05:16:04 -0400 |
| parents | ee9a90a06e19 |
| children | 7f1bac9c4478 |
comparison
equal
deleted
inserted
replaced
| 3:ee9a90a06e19 | 4:d17c507ec2f8 |
|---|---|
| 166 target_directory = params['output_data'][0]['extra_files_path'] | 166 target_directory = params['output_data'][0]['extra_files_path'] |
| 167 | 167 |
| 168 data_table_entries = get_data_table_entries(params['param_dict'], options.galaxy_data_manager_data_path) | 168 data_table_entries = get_data_table_entries(params['param_dict'], options.galaxy_data_manager_data_path) |
| 169 | 169 |
| 170 # save info to json file | 170 # save info to json file |
| 171 with open(filename, 'wb') as fh: | 171 with open(filename, 'w') as fh: |
| 172 fh.write(json.dumps({"data_tables": data_table_entries})) | 172 fh.write(json.dumps({"data_tables": data_table_entries}, sort_keys=True)) |
| 173 | 173 |
| 174 get_file_content(params['param_dict'], target_directory) | 174 get_file_content(params['param_dict'], target_directory) |
| 175 | 175 |
| 176 | 176 |
| 177 if __name__ == "__main__": | 177 if __name__ == "__main__": |
