New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, there will be an error after loading the plug-in #3
Comments
It looks like there is an issue in parsing the file it has been provided with. Could you show me your code where the component is used? |
This problem occurs the first time you load or refresh the page. <Tabs defaultActiveKey="0" type="card" tabPosition='left' onChange={this.ChangeTabs}>
{
targetsDetail.Structure.map((item,index)=>{
return(
<TabPane tab={(item.pdb)} key={item.pdb}>
<div className='Molstar-div2'>
<Molstar pdbId={item.pdb} />
</div>
</TabPane>
)
})
}
</Tabs>``` |
Hmm - I just tested the library on both molstar v2.2 and molstar v3.9, and using |
0: {pdb: '2PNC', type: 'not GPCR'} |
That's odd - both of those IDs work fine for me. What version of molstar and molstar-react are you using? You can see these with |
{ |
That's a JSON object - could I see the packages that are installed with |
Could you show me the output of |
xingguang@loaclhost elegantDeep % npm ls molstar npm ERR! missing: molstar-react@0.5.1, required by syzh@0.1.0 npm ERR! missing: react@16.4.1, required by syzh@0.1.0 |
Hi, seemed to a browser issue. Managed to fix it after clearing cache |
The text was updated successfully, but these errors were encountered: