Menu

SVN archive Commit Log


Commit Date  
[r28064] by bugman

More future protection against numpy changes.

The FutureWarning is "`rank` is deprecated; use the `ndim` attribute or function instead. To find
the rank of a matrix see `numpy.linalg.matrix_rank`." Therefore the N-state model target function
method paramag_info() has been updated to use the .ndim attribute and longer use numpy.rank()
function.

2015-10-16 14:02:57 Tree
[r28063] by bugman

Updated all of relax to protect against future changes occurring in the numpy Python package.

From numpy version 1.9, the FutureWarning "__main__:1: FutureWarning: comparison to `None` will
result in an elementwise object comparison in the future." is seen in a large percentage of all
relax's user functions. This is caught and turned into a RelaxWarning with the same message.

The issue is that the behaviour of the comparison operators '==' and '!=' will change with future
numpy versions. These have been replaced with 'is' and 'is not' throughout the relax code base.
Changes have also been made to the minfx and bmrblib packages to match.

2015-10-16 13:51:51 Tree
[r28062] by bugman

Replicated title fix for the HTML version of the manual.

The replicated titles were causing the sections with the same name to all point to a single HTML
page with the title name, resulting in a mess in the contents and in the flow of following the
manual sections sequentially. The relax 4.0.0 documentation has therefore been especially updated
with these fixes, even though the release does not contain the title name changes.

2015-10-15 10:37:38 Tree
[r28061] by bugman

Ported r28058 and r28059 from trunk to fix the live HTML manual at http://www.nmr-relax.com .

The command used was:
svn merge -r28057:28059 svn+ssh://bugman@.../svn/relax/trunk/ .

.....
r28059 | bugman | 2015-10-15 11:55:30 +0200 (Thu, 15 Oct 2015) | 7 lines

Removal of an old replicated title in the LaTeX sources for the manual.

This is the title 'Model-free analysis' which is used for the entire specific analysis chapter as
well as for the model-free analysis section of the values, gradients, and Hessians for optimisation
chapter.


r28058 | bugman | 2015-10-15 11:51:00 +0200 (Thu, 15 Oct 2015) | 3 lines

Elimination of replicated titles in the LaTeX sources that the new frame order chapters introduced.
.....

2015-10-15 09:58:59 Tree
[r28060] by bugman

Fixes and improved printouts for the replicate_title_check scons target.

2015-10-15 09:55:59 Tree
[r28059] by bugman

Removal of an old replicated title in the LaTeX sources for the manual.

This is the title 'Model-free analysis' which is used for the entire specific analysis chapter as
well as for the model-free analysis section of the values, gradients, and Hessians for optimisation
chapter.

2015-10-15 09:55:30 Tree
[r28058] by bugman

Elimination of replicated titles in the LaTeX sources that the new frame order chapters introduced.

2015-10-15 09:51:00 Tree
[r28057] by bugman

The Scons compilation of the PDF and HTML manuals now checks for replicated titles.

A new replicate_title_check target has been added to the scons scripts. This calls the find()
method of the replicate LaTeX title finding script to determine if any titles are replicated, and if
so the scons target returns with a sys.exit(1) call. This target is set at the start of the
user_manual_pdf, user_manual_pdf_nofetch, user_manual_html, user_manual_html_nofetch scons targets.

The result is that the manual cannot be compiled if replicate titles exist, forcing the titles to be
changed. The result will be that the HTML pages at http://www.nmr-relax.com/manual/ will all be
unique, as replicated titles results in only one HTML page being created for all the sections.

2015-10-15 09:44:13 Tree
[r28056] by bugman

Removed the duplicate LaTeX title finding shell script.

This is now handled by the far more advanced Python script.

2015-10-15 09:27:10 Tree
[r28055] by bugman

Renamed the replicate title finding script.

2015-10-15 09:26:29 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.