You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-4-a327e7af1a57> in <module>()
----> 1 fatcat.parse_fatcat(fatcat_outfile)
/home/ben/anaconda2/lib/python2.7/site-packages/ssbio/protein/structure/properties/fatcat.pyc in parse_fatcat(fatcat_xml)
96 # Find the tmScore of the alignment
97 if soup.find('block'):
---> 98 fatcat_results['tm_score'] = float(soup.find('afpchain')['tmscore'])
99
100 return fatcat_results
/home/ben/anaconda2/lib/python2.7/site-packages/bs4/element.pyc in __getitem__(self, key)
995 """tag[key] returns the value of the 'key' attribute for the tag,
996 and throws an exception if it's not there."""
--> 997 return self.attrs[key]
998
999 def __iter__(self):
KeyError: 'tmscore'
There seems to be an issue with the tm_score or tmscore key
The text was updated successfully, but these errors were encountered:
ssbio/docs/notebooks/FATCAT - Structure Similarity.ipynb
Line 72 in 6f41652
When I try to run parse_fatcat I get an error:
There seems to be an issue with the tm_score or tmscore key
The text was updated successfully, but these errors were encountered: