Analysis 2.5.2 with modern Python and Tcl/Tk for MacOS/Linux

https://github.com/21tesla/analysis2.5py3lite

At this link you will find a copy of Analysis 2.5.2 that has been rewritten for Python 3.14 and Tcl/Tk 9.04. This ensures it will work on current operating systems. It has been tested on MacOS 27b9 and Ubuntu Linux 24.04.

Standalone .tar.gz files are provided in the Release section. Just unpack anywhere you like and ./bin/analysis

The MacOS release uses native window calls so no X11/Xquartz is required. Trackpad bindings largely remain the same. Mouse bindings mimic Linux.

There is native read/write of NEF files.

Since users are often using peak lists assigned from software such as NMRtist, you can import NEF, XEASY and NMRdraw format lists and resonances and assignments will be automatically made.

In this port, about half of the 1800+ modules have been removed to keep a simple app that does what you need. I have always liked the Analysis 2 paradigm of doing things. I’ve solved so many structures with it. If you experience any problems with this “old school Analysis”, please contact me at logand@yorku.ca

-Logan

Hi Logan,

Thanks for taking the time to make this port.

I tested the LINUX standalone on AlmaLinux 9 and hit a block with the system glibc version requirement for libm.so - RHEL clones are still on GLibC 2.34. Are you able to relax the version requirement in your python package?

I haven’t had time to build a CPython/Tcl/Tk environment to test the build from code option but I’ll have a go when I get a moment.

The linux build script creates a fresh uv environment and then builds everything, including the C shared libraries. It builds on Mac practically the same way so there’s hope for other Linux OS.