Menu

Commit [r28066]  Maximize  Restore  History

Fix for bug #23933 (https://gna.org/bugs/?23933).

This is the "NameError: global name 'ids' is not defined" problem when loading relaxation data.

The bug was introduced back in November 2014 (r26588), and is due to some incomplete error handling
code. The problem is that the spin type that the relaxation data belongs to (@N vs. @H) has not
been specified. Now the correct RelaxMultiSpinIDError is raised. The 'ids' variable did not exist
- it was code that was planned to be added, but never was and was forgotten.

bugman 2015-10-20

changed /trunk/pipe_control/relax_data.py
/trunk/pipe_control/relax_data.py Diff Switch to side-by-side view
Loading...
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.