
12 Jul
2024
12 Jul
'24
12:20 p.m.
Hello, I am trying to write a python script to prepare proteins for molecular docking, and as part of that I want to be able to identify and save the center coordinates of each protein. using runCommand('measure center #0') works fine, but I am at a loss as to how to capture the output of that command. Ideally I would like to save the output as a string in python. Any advice on how to go about this would be appreciated! Thanks! Laura