On 22/04/2019 18:52, Edward A. Berry wrote:
On 04/22/2019 11:07 AM, Paul Emsley wrote:
On 12/04/2019 21:17, Edward A. Berry wrote:
What is the format for match-list in:
lsq-match imol-ref imol-moving match-list
(or where is it described).
I somehow missed this question
apply-lsq-matches is called with 2 arguments: imol-ref and imol-moving, which
are the molecule numbers.
Examples of how to make and add your own matches are in section 4.21 of the
manual
https://urldefense.proofpoint.com/v2/url?u=https-3A__www2.mrc-2Dlmb.cam.ac.uk_personal_pemsley_coot_web_docs_coot.html-23Least-5F002dSquares-2Dmatching&d=DwIDaQ&c=ogn2iPkgF7TkVSicOVBfKg&r=cFgyH4s-peZ6Pfyh0zB379rxK2XG5oHu7VblrALfYPA&m=9kjDAmFxQ15vU4kz19y7RTIK6EDGsUEZ8jvH18wSZj0&s=Vrq1QdtgnoeOm-LVK4v0M-kJ12Bpq0GUMj8cqqqPs5M&e=
Thanks- I guess I missed 4.21, was looking at 14.29
But I get an error with the 4.21 example:
coot> (define match1 (list 100 300 "A" 100 300 "N" 'main))
coot> (define match2 (list 100 300 "N" 100 300 "A" 'main))
coot> (clear-lsq-matches)
coot> (set-match-element match1)
coot> (set-match-element match2)
coot> (apply-lst-matches 0 3) ; match molecule number 1 onto molecule number 0.
Backtrace:
In current input:
27: 0* (apply-lst-matches 0 3)
<unnamed port>:27:1: In expression (apply-lst-matches 0 3):
<unnamed port>:27:1: Unbound variable: apply-lst-matches
ABORT: (unbound-variable)
Ooops, there's an error in the documentation, that should be apply-lsq-matches.
I'll fix that.
Regards,
Paul
########################################################################
To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1