I’ve been trying to run the Packing and Design tutorial with a view to writing my own Packing/Design routine. I’m following the pdf posted on the PyRosetta website and the errata page. There doesn’t appear to be a read_resfile routine for either standard_packer_task (as per the original instructions) or create_packer_task (listed in the errata).
I get “AttributeError: ‘PackerTask_’ object has no attribute ‘read_resfile'”
I’m running the latest Windows native build PyRosetta build. Any help gratefully appreciated.
The function got moved. Try the python equivalent of core::pack::task::parse_resfile(pose, task, filename). (Without a filename, it will use the option system instead; you can also feed a raw resfile string instead of a filename with parse_resfile_string).