First of all, thank you for your effort on such amazing work!
I followed the method of complex-structure prediction and get a similar complex.pdb file as example/complex.pdb. But, what I found is that both the files (mine and yours) are failed to be shown by py3Dmol. However, the python code works fine on other pdb files.
My code is below:
`import py3Dmol
with open("../complex_query_example/complex.pdb") as ifile:
system = "".join([x for x in ifile])
p = py3Dmol.view(js='https://3dmol.org/build/3Dmol.js')
p.addModelsAsFrames(system)
p.setStyle({'model': -1}, {'cartoon': {'color':'spectrum'}})
p.zoomTo()
p.show()`
Could you please provide some clue on this problem? Thanks a lot.
Hi,
First of all, thank you for your effort on such amazing work!
I followed the method of complex-structure prediction and get a similar complex.pdb file as example/complex.pdb. But, what I found is that both the files (mine and yours) are failed to be shown by py3Dmol. However, the python code works fine on other pdb files.
My code is below:
`import py3Dmol
with open("../complex_query_example/complex.pdb") as ifile: system = "".join([x for x in ifile])
p = py3Dmol.view(js='https://3dmol.org/build/3Dmol.js') p.addModelsAsFrames(system) p.setStyle({'model': -1}, {'cartoon': {'color':'spectrum'}}) p.zoomTo() p.show()`
Could you please provide some clue on this problem? Thanks a lot.