Snippets

Biosig Lab Retrieve results for list prediction jobs - DynaMut2

Created by Carlos Miranda Rodrigues last modified
import argparse
import requests
import sys

URL = "https://biosig.lab.uq.edu.au/dynamut2/api/prediction_list"

def main(args):
    job_id = args.job_id

    params = {
        "job_id": job_id,
    }

    req = requests.get(URL, data=params)
    print(req.json())
    return True

if __name__ == "__main__":
    parser = argparse.ArgumentParser(description='Retrieve job results for list prediction - DynaMut2')
    parser.add_argument('--job_id', dest='job_id', type=str, help='Job identifier code generated upon submission', required=False, default=None)

    args = parser.parse_args()
    main(args)

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.