Skip to content

Commit

Permalink
removing the colloction ID from the OSID request, because OSID has a …
Browse files Browse the repository at this point in the history
…new interface
  • Loading branch information
mbc32 committed Mar 11, 2021
1 parent 2aa3f2a commit 498967f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allocation_service/osid_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_organism_id(self, organism_name):

def get_gene_id(self, organism_id, generate_genes):
url = self.url_base + 'idSets'
webservice_data = {"collectionId": 1, "organismId": organism_id, "generateGenes": generate_genes}
webservice_data = {"organismId": organism_id, "generateGenes": generate_genes}
response = requests.post(url, auth=(self.user, self.password), json=webservice_data)
if response.status_code == requests.codes.ok:
return response.json()["idSetId"], response.json()["generatedIds"]
Expand Down

0 comments on commit 498967f

Please sign in to comment.