History of AFNI updates  

|
January 04, 2023 09:42AM
Hi, Megan-

Thanks for sending that information.

There is a Python error that shows up:
ValueError: Format 'jpg' is not supported (supported formats: eps, pdf, pgf, png, ps, raw, rgba, svg, svgz)

The bad news: the default package manager in Ubuntu 20.04 (Aptitude) distributes a version of Matplotlib, 3.1.2, that contains this error when trying to make JPGs:
[bugs.launchpad.net]
I don't know why they haven't fixed it, and it is the root cause of the error here. From your afni_system_check.py output, that does appear to be the Matplotlib version you have.

The good news: there is a fix. Can you please run the following on your computer (requires the admin/sudo password):
sudo apt-get install pip
sudo apt-get remove python3-matplotlib
pip install matplotlib

That should get you matplotlib ver=3.6.2 (or so), and Python can now generate JPG images. (Why Ubuntu didn't make the bug-free version of matplotlib its default... I don't know.)

Then you can go into an afni_proc.py (AP) results directory, and do:
curl -O https://raw.githubusercontent.com/afni/afni/master/src/ptaylor/supplement/redo_apqc.tcsh
tcsh redo_apqc.tcsh
... to regenerate the QC directory there. Under the 'mot' block and in other places in the HTML, you should now see lots of line plots.

--pt
Subject Author Posted

Index.html- va2t and mot questions Attachments

tue50988 January 03, 2023 10:07AM

Re: Index.html- va2t and mot questions

ptaylor January 03, 2023 02:37PM

Re: Index.html- va2t and mot questions

tue50988 January 04, 2023 09:16AM

Re: Index.html- va2t and mot questions

ptaylor January 04, 2023 09:42AM