Hi everyone, I write a python script to help model building. Frist, I implemented a function to delete a chain by clicking with build-in function user_defined_click, which worked successfully. Then I implemented another function with user_defined_click again. The first parameter to user_defined_click is 2 rather than 1. The codes are listed below. When I pressed 'M', the cursor became a cross. Then I clicked on one of the molecules, the cursor became an arrow rather than remaining a cross to allow me to click another molecule. Also, string "hello" was not printed on the console, which suggested that function merge_2_fragments was not called successfully.
Does anyone have any suggestions? Cheers, Stephen ######################################################################## To unsubscribe from the COOT list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1