def collect_inputs_from_workflow_run(wfr_resp):
    """Given a wfr item in embedded frame, collect input files as a list of @ids"""
    input_files = []
    inputs = wfr_resp['input_files']
    for an_input in inputs:
        if an_input.get('value'):
            input_files.append(an_input['value']['@id'])
    return input_files