You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You were close, you must use it like this:
url_create = 'http://www.cmbi.umcn.nl/xssp/api/create/sequence/hssp_hssp/'
mySeq = 'EVQLVESGGGLVQPGGSLRLSCAASGFNIKDTYIHWVRQAPGKGLEWVARIYPTNGYTRYADSVKGRFTISADTSKNTAYLQMNSLRAEDTAVYYCSRWGGDGFYAMDYWGQGTLVTVSS'
r = requests.post(url_create, data={'data':mySeq})
________________________________
Van: korjcjeong <[email protected]>
Verzonden: vrijdag 16 februari 2018 23:58
Aan: cmbi/xssp-api
CC: Subscribed
Onderwerp: [cmbi/xssp-api] Sending sequence is failed (#96)
url_create = 'http://www.cmbi.umcn.nl/xssp/api/create/sequence/hssp_hssp/'
mySeq = 'EVQLVESGGGLVQPGGSLRLSCAASGFNIKDTYIHWVRQAPGKGLEWVARIYPTNGYTRYADSVKGRFTISADTSKNTAYLQMNSLRAEDTAVYYCSRWGGDGFYAMDYWGQGTLVTVSS'
r = requests.post(url_create, data = {'file_':'sequence', 'pdb_id':'sequence', 'input_type':'sequence', 'output_type':'hssp_hssp', 'sequence':mySeq })
I run this code but it doesn't work. It keeps showing following error.
u'{\n "file_": [\n "This field is required if 'pdb_id' and 'sequence' have not been provided."\n ], \n "pdb_id": [\n "This field is required if 'sequence' and 'file_' have not been provided."\n ], \n "sequence": [\n "This field is required if 'pdb_id' and 'file_' have not been provided."\n ]\n}'
Could you provide me an example of sending 'sequence' rather than 'pdb file'?
Thank you.
-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#96>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFN1s0i6CICUgmsc24zoCzCRMMh3kadaks5tVggcgaJpZM4SJCiL>.
Het Radboudumc staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud university medical center is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.
Sorry the issue has been solved
The text was updated successfully, but these errors were encountered: