Hi Jon,
This would not be difficult to implement, but seems pretty useless as a command option.  Are you really running this clashes command from a ChimeraX script (.cxc) file, or are you actually using a Python script that is invoking the command?  Knowing your exact usage case would clarify where it would be best to put in this option.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Apr 22, 2026, at 2:12 PM, Jon David via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hi team,

I'd like to request new functionality for the clashes command.  Specifically, I'd like to request for a new option called "shortCircuit that accepts a Boolean value: True or False.  If True, then as soon as any clash is detected, the clashes command terminates; False, then behave the way it does now.

For my particular use case, I am making collision checks between pairs of molecule configurations, thousands of pairs.  The problem is the more clashes there are, the longer it takes for the clashes command to finish.  This is a problem when I'm checking for collisions thousands of times.  To have a feature where the clashes command exits early, as soon as it finds ANY clash/collision, would be extremely useful for my case.


Thanks,

--J
_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/