Here TYR exists in one region (OF) but not the other (PL) hence when it goes to add correlations for it the node does not yet txist - in this case, only nodes (in this reverse case compounds) that exist for both regions should be included, hence TYR should be excluded and a print 'node TYR excluded as it is not in region/compound OF'
Code to get bug:
'''python
from module.core.Figure import Network
from module.core.Constants import *
Network(project ='TCB2',
Here TYR exists in one region (OF) but not the other (PL) hence when it goes to add correlations for it the node does not yet txist - in this case, only nodes (in this reverse case compounds) that exist for both regions should be included, hence TYR should be excluded and a print 'node TYR excluded as it is not in region/compound OF'
Code to get bug: '''python from module.core.Figure import Network from module.core.Constants import * Network(project ='TCB2',
experiment='agonist antagonist',
''' NetworkXError: Node 'TYR' has no position.