Spaces:
Sleeping
Sleeping
Commit
·
d040a03
1
Parent(s):
5244246
Update code/add_3Dalignment.py
Browse files- code/add_3Dalignment.py +1 -1
code/add_3Dalignment.py
CHANGED
|
@@ -220,7 +220,7 @@ def get_alignments_3D(identifier, model_num, pdbSequence, source, chain, pdbID,
|
|
| 220 |
print(pdbSequence)
|
| 221 |
print(mode, source)
|
| 222 |
if mode == 1:
|
| 223 |
-
if source
|
| 224 |
# Step 1: Fetch the PDB file
|
| 225 |
pdb_url = f"https://files.rcsb.org/download/{pdbID}.pdb"
|
| 226 |
response = requests.get(pdb_url)
|
|
|
|
| 220 |
print(pdbSequence)
|
| 221 |
print(mode, source)
|
| 222 |
if mode == 1:
|
| 223 |
+
if source == 'PDB':
|
| 224 |
# Step 1: Fetch the PDB file
|
| 225 |
pdb_url = f"https://files.rcsb.org/download/{pdbID}.pdb"
|
| 226 |
response = requests.get(pdb_url)
|