importargparseimportrequestsimportsysURL="https://biosig.lab.uq.edu.au/dynamut2/api/prediction_list"defmain(args):job_id=args.job_idparams={"job_id":job_id,}req=requests.get(URL,data=params)print(req.json())returnTrueif__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)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.