[AMMRL] IconNMR and Python scripts

From: Sameer Al-Abdul-Wahid <s.wahid_at_uoguelph.ca>
Date: Wed, 2 Oct 2024 13:09:21 +0000

Hi all,

For those with Bruker instruments, has anyone successfully run Python scripts
in IconNMR?

I’m trying to run a Python script to handle the “lock” portion of each
sample. The closest I’ve come is creating a macro that calls the Python
script, which I then run in IconNMR using XMAC. However, this executes the
command as if it were typed directly into the command line, causing the Python
script to operate on the current dataset displayed in TopSpin rather than
the active dataset in automation. This isn't ideal for our workflow.

I noticed that each dataset has “PYNM” and “PYNMP” parameters. I could
move my Python code into the PYNM script, but I don’t know how to call that
in IconNMR either.

Any help would be appreciated!

Thanks,
Sameer

P.S. For context, we often run automation with a wide range of salinities.
Once every few hundred samples, ATMA will spend 10+ minutes hunting for a
dip and then ‘give up’ with the probe untuned. We developed a Python script
that times the ATMA process and emails us if it takes longer than 3 minutes.

--
Sameer Al-Abdul-Wahid, Ph.D. | Manager
Nuclear Magnetic Resonance Centre | University of Guelph
519-824-4120 ext. 58914 | s.wahid_at_uoguelph.ca<mailto:s.wahid_at_uoguelph.ca>
http://nmr.uoguelph.ca/



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#1686): https://urldefense.com/v3/__https://ammrl.groups=
.io/g/main/message/1686__;!!PvDODwlR4mBZyAb0!RGKm49Q3THFru_v-mKJHFYvjHt-qy9=
nnZ1ekgRl9doSsAwpXkpBUan_Slybx_fhLsxB3TD5YfyyLS2q-KcM$
Mute This Topic: https://urldefense.com/v3/__https://groups.io/mt/108779523=
/7559972__;!!PvDODwlR4mBZyAb0!RGKm49Q3THFru_v-mKJHFYvjHt-qy9nnZ1ekgRl9doSsA=
wpXkpBUan_Slybx_fhLsxB3TD5YfyyLNuo9r3A$
Group Owner: main+owner_at_ammrl.groups.io
-=-=-=-=-=-=-=-=-=-=-=-




Received on Wed Oct 02 2024 - 06:40:36 MST

This archive was generated by hypermail 2.4.0 : Fri Nov 01 2024 - 17:08:12 MST