Mercurial > repos > cathywise > truststore_browse_testing
comparison TrustStoreGalaxyBrowse.py @ 13:11344d545e88
Debug
| author | Catherine Wise <catherine.wise@csiro.au> |
|---|---|
| date | Wed, 13 May 2015 10:30:45 +1000 |
| parents | 16b0ceecf1f7 |
| children | 589f9250e30f |
comparison
equal
deleted
inserted
replaced
| 12:47156a7b3440 | 13:11344d545e88 |
|---|---|
| 99 properties_file = sys.argv[1] | 99 properties_file = sys.argv[1] |
| 100 ouput_root = sys.argv[2] | 100 ouput_root = sys.argv[2] |
| 101 json_params = None | 101 json_params = None |
| 102 metadata_path = None | 102 metadata_path = None |
| 103 with open(properties_file, 'r') as file_: | 103 with open(properties_file, 'r') as file_: |
| 104 all_params = json.loads(file_.read()) | 104 settings = file_.read() |
| 105 print(settings) | |
| 106 all_params = json.loads(settings) | |
| 105 json_params = all_params.get("param_dict") | 107 json_params = all_params.get("param_dict") |
| 106 metadata_path = all_params["job_config"]["TOOL_PROVIDED_JOB_METADATA_FILE"] | 108 metadata_path = all_params["job_config"]["TOOL_PROVIDED_JOB_METADATA_FILE"] |
| 107 | 109 |
| 108 output_filename = json_params.get('output', None) | 110 output_filename = json_params.get('output', None) |
| 109 output_data = json_params.get('output_data') | 111 output_data = json_params.get('output_data') |
