Hi IMP users,
I have a fully functional script that works with IMP 1.0 libraries. When I run the same script in IMP 2.0.1 in the same computer, it throws this error:
Traceback (most recent call last):
File "exocyst_prt_March2013_app1.py", line 10, in <module>
rep = restrainer.add_representation('input/repr_rdm_app1.xml')
File "/home/ibai/imp2/lib/IMP/restrainer/__init__.py", line 464, in add_representation
return _main.Main.add_representation(self, fname)
File "/home/ibai/imp2/lib/IMP/restrainer/_main.py", line 17, in add_representation
self.representation = XMLRepresentation(fname).run()
File "/home/ibai/imp2/lib/IMP/restrainer/_xml_parser.py", line 94, in run
r = self._handle_node(node)
File "/home/ibai/imp2/lib/IMP/restrainer/_xml_parser.py", line 102, in _handle_node
return handler(node)
File "/home/ibai/imp2/lib/IMP/restrainer/_xml_parser.py", line 198, in _handle_protein
r = self._handle_node(child)
File "/home/ibai/imp2/lib/IMP/restrainer/_xml_parser.py", line 102, in _handle_node
return handler(node)
File "/home/ibai/imp2/lib/IMP/restrainer/_xml_parser.py", line 220, in _handle_chain
result = _RepChain(attrs)
File "/home/ibai/imp2/lib/IMP/restrainer/_representation.py", line 204, in __init__
self.topology_file = attributes.get('topology_filename', IMP.atom.get_data_path('top_heav.lib'))
File "/home/ibai/imp2/lib/IMP/atom/__init__.py", line 10284, in get_data_path
return _IMP_atom.get_data_path(*args)
_IMP_base.IOException: Unable to find data file top_heav.lib in [/usr/local/share/IMP]. IMP is not installed or set up correctly.