(workflow_json, old_filename, new_filename)
| 398 | return filepath |
| 399 | |
| 400 | def rename_file_in_workflow_json(workflow_json, old_filename, new_filename): |
| 401 | workflow_json_str = json.dumps(workflow_json) |
| 402 | workflow_json_str = workflow_json_str.replace(old_filename, new_filename) |
| 403 | return json.loads(workflow_json_str) |
| 404 | |
| 405 | def rename_file_in_launcher_json(launcher_json, old_filename, new_filename): |
| 406 | workflow_json = launcher_json["workflow_json"] |
nothing calls this directly
no outgoing calls
no test coverage detected