File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def make_url(
9595 The URL of the file to download
9696
9797 """
98- filetype = str ( FileType (filetype ) )
98+ filetype = FileType (filetype )
9999
100100 uniprot_id = uniprot_id .upper ()
101101 af_id = "AF-" + uniprot_id + "-F1"
@@ -108,7 +108,7 @@ def make_url(
108108 + "-model_v"
109109 + str (version )
110110 + "."
111- + filetype
111+ + str ( filetype )
112112 )
113113
114114 return url
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ def make_url(
6666
6767 """
6868
69- filetype = str ( FileType (filetype ) )
69+ filetype = FileType (filetype )
7070 uniprot_id = uniprot_id .upper ()
71- url = f"https://files.rcsb.org/download/{ uniprot_id } .{ filetype } "
71+ url = f"https://files.rcsb.org/download/{ uniprot_id } .{ str ( filetype ) } "
7272 return url
7373
7474 def get_pdb (
You can’t perform that action at this time.
0 commit comments