Skip to content
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

cannot process pdb file #2

Open
jmholton opened this issue Jun 26, 2021 · 0 comments
Open

cannot process pdb file #2

jmholton opened this issue Jun 26, 2021 · 0 comments

Comments

@jmholton
Copy link

trying to make ins file from pdb. Always get this error. Even when pdb file has one atom in it.
Traceback (most recent call last):
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 3208, in
main()
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 3204, in main
Data()
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 116, in init
self.joinstrings()
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 509, in joinstrings
atomContainerString = self.atomContainer.asShelxString(self.header.getCell())
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 2546, in asShelxString
atomStringList.append(atom.asShelxString(self.elementList, cell))
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 2885, in asShelxString
tempFactor = self.getTempFactorAsString(cell)
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 2764, in getTempFactorAsString
string = '{:6.5f}'.format(self.getUIso())
File "/home/jamesh/projects/pdb2ins/git/pdb2ins/pdb2ins.py", line 2744, in getUIso
return float(self.atomUIso)
TypeError: float() argument must be a string or a number

Actual value of self.atomUIso seems to be None

Any insight?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant