Thank you Paul for both responses! 

> On 6 Sep 2025, at 10:15 AM, Paul Emsley <[email protected]> wrote:
> 
> 
> On 06/09/2025 12:56, Alejandro Buschiazzo wrote:
>>> On 6 Sep 2025, at 8:46 AM, Alejandro Buschiazzo <[email protected]> 
>>> wrote:
>>> 
>>> 
>>> Dear all
>>> 
>>> How do I select a residue range, so that the “delete residue range” option 
>>> works?
>>> (using coot 1.1.18 in macOS)
>>> 
>>> Thanks!!
>> …and if I attempt doing it via coot's python scripting interface, a nasty 
>> error pops up:
>> 
>> Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>> NameError: name 'delete_residue_range' is not defined
>> 
>> I’m clearly doing this wrong…apologies, but cannot find any help/workaround.
> 
> Coot is now a responsible pythonic community member and no longer splurges 
> its functionality into the global namespace.
> 
> So,
> 
> import coot
> 
> coot.delete_residue_range(0, "A", 10, 20)
> 
> 
> 
> 

########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to