mail[bug #19329] J(w) mapping failing with "AttributeError: 'SpinContainer' object has no attribute 'j0_sim'".


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d Auvergne on January 25, 2012 - 14:30:

URL:
  <http://gna.org/bugs/?19329>

                 Summary: J(w) mapping failing with "AttributeError:
'SpinContainer' object has no attribute 'j0_sim'".
                 Project: relax
            Submitted by: bugman
            Submitted on: Wed 25 Jan 2012 01:30:26 PM GMT
                Category: relax's source code
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: bugman
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.3.13
        Operating System: All systems

    _______________________________________________________

Details:

The reduced J(w) mapping analysis fails at the Monte Carlo simulation user
function monte_carlo.error_analysis with the message:

Traceback (most recent call last):
  File "/data/relax/relax-1.3/multi/uni_processor.py", line 136, in run
    self.callback.init_master(self)
  File "/data/relax/relax-1.3/multi/processor.py", line 263, in
default_init_master
    self.master.run()
  File "/data/relax/relax-1.3/relax.py", line 171, in run
    self.interpreter.run(self.script_file)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 300, in run
    return run_script(intro=self.__intro_string, local=locals(),
script_file=script_file, quit=self.__quit_flag,
show_script=self.__show_script, raise_relax_error=self.__raise_relax_error)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 610, in
run_script
    return console.interact(intro, local, script_file, quit,
show_script=show_script, raise_relax_error=raise_relax_error)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 495, in
interact_script
    exec_script(script_file, local)
  File "/data/relax/relax-1.3/prompt/interpreter.py", line 383, in
exec_script
    runpy.run_module(module, globals)
  File "/usr/lib64/python2.7/runpy.py", line 180, in run_module
    fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/data/relax/debugging/jw_mapping/jw_mapping_new.py", line 55, in
<module>
    monte_carlo.error_analysis()
  File "/data/relax/relax-1.3/prompt/monte_carlo.py", line 123, in
error_analysis
    monte_carlo.error_analysis(prune=prune)
  File "/data/relax/relax-1.3/generic_fns/monte_carlo.py", line 187, in
error_analysis
    param_array = return_sim_param(model_info, index)
  File "/data/relax/relax-1.3/specific_fns/jw_mapping.py", line 399, in
sim_return_param
    return spin.j0_sim
AttributeError: 'SpinContainer' object has no attribute 'j0_sim'


This occurs when there the relaxation data file contains values of None.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19329>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Thu Jan 26 10:40:15 2012