Structure of PDB 7vy2 Chain 1 | ||||||||||||||||||||||||||||||||||||
Receptor sequence
| ||||||||||||||||||||||||||||||||||||
3D structure
| ||||||||||||||||||||||||||||||||||||
Interaction with ligand
| ||||||||||||||||||||||||||||||||||||
Gene Ontology
--> -->
|
UnboundLocalError | Python 3.6.8: /usr/bin/python3 Wed May 7 00:18:31 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/html/BioLiP/pdb.cgi in <module>() |
1471 pubmed=display_regular_ligand(pdbid,asym_id,lig3,ligIdx,title) |
1472 else: |
=> 1473 pubmed,uniprot=display_protein_receptor(pdbid,asym_id,title) |
1474 |
1475 uniprot_line='' |
pubmed = '', uniprot = '', display_protein_receptor = <function display_protein_receptor>, pdbid = '7vy2', asym_id = '1', title = 'Asymmetric structure of the native Rhodobacter sphaeroides dimeric LH1-RC complex.' |
/var/www/html/BioLiP/pdb.cgi in display_protein_receptor(pdbid='7vy2', asym_id='1', title='Asymmetric structure of the native Rhodobacter sphaeroides dimeric LH1-RC complex.') |
840 |
841 if go: |
=> 842 display_go(go,uniprot,pdbid,asym_id) |
843 return pubmed,uniprot |
844 |
global display_go = <function display_go>, go = '0016020,0019684,0019866,0030077,0045156', uniprot = '', pdbid = '7vy2', asym_id = '1' |
/var/www/html/BioLiP/pdb.cgi in display_go(go='0016020,0019684,0019866,0030077,0045156', uniprot='', pdbid='7vy2', asym_id='1') |
481 '''.replace("$namespace_link",namespace_link |
482 ).replace("$namespace",namespace |
=> 483 ).replace("$uniprot",u |
484 )) |
485 for l,(term,name) in enumerate(go2aspect[Aspect]): |
u undefined |
UnboundLocalError: local variable 'u' referenced before assignment
args =
("local variable 'u' referenced before assignment",)
with_traceback =
<built-in method with_traceback of UnboundLocalError object>