The GNPS task received empty motifsets when POSTing to ms2lda in this script. This is caused by the redirect from http to https on our end. To fix this, we should POST to https too in this script. Here are some changes I made:
Changed http to https.
Removed the token thing as it's no longer needed. CSRF protection has been disabled from ms2lda side for the get_motifset method.
Should be okay to verify the SSL cert now, so I also removed verify=False when making get/post requests.
PS. I still remember our discussion on putting motifdb to a public repo like GitHub. Will get around to doing that someday ...
Hi Ming,
The GNPS task received empty motifsets when POSTing to ms2lda in this script. This is caused by the redirect from http to https on our end. To fix this, we should POST to https too in this script. Here are some changes I made:
verify=False
when making get/post requests.PS. I still remember our discussion on putting motifdb to a public repo like GitHub. Will get around to doing that someday ...
Thanks, Joe