Skip to content

Commit

Permalink
change uniprot batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Dec 6, 2023
1 parent 32ff80a commit 08ee2c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ spec:
protocol: TCP
targetPort: http
type: ClusterIP
# type: NodePort
2 changes: 1 addition & 1 deletion app/routes/pride.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ async def update_protein_metadata(list_of_project_sub_details):

async def find_uniprot_data(list_of_project_sub_details):
i = 1
batch_size = 10
batch_size = 4
base_in_URL = "https://rest.uniprot.org/uniprotkb/search?query=accession:"
fields_in_URL = "&fields=protein_name,gene_primary&size=50"
seperator = "%20OR%20"
Expand Down

0 comments on commit 08ee2c6

Please sign in to comment.