mail[bug #17417] Failure of loading a relax 1.2 file - "TypeError: 'NoneType' object is not iterable"


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

Header


Content

Posted by Edward d Auvergne on January 03, 2011 - 10:32:

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

                 Summary: Failure of loading a relax 1.2 file - "TypeError:
'NoneType' object is not iterable"
                 Project: relax
            Submitted by: bugman
            Submitted on: Mon 03 Jan 2011 09:32:00 AM GMT
                Category: relax's source code
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: bugman
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.3.6
        Operating System: All systems

    _______________________________________________________

Details:

= Description =

Loading of a relax 1.2 file fails when trying to set up a model-free model
which is set to None in the results file.


= The error message =

Opening the file
'/data/relax/relax-1.3/test_suite/shared_data/model_free/tem1_trunc.bz2' for
reading.
relax 1.2 model-free results file.                                           
                        

Generating the sequence.

Setting the diffusion tensor.
Diffusion type: ellipsoid
RelaxWarning: The PDB file 1XPB_good_numbering_with_protons_NO_PLUS.pdb.pdb
cannot be found, no structures will be loaded.
Traceback (most recent call last):
  File "test_suite/system_tests/model_free.py", line 1620, in
test_read_results_1_2_tem1
    self.interpreter.results.read(file='tem1_trunc',
dir=__main__.install_path +
sep+'test_suite'+sep+'shared_data'+sep+'model_free')
  File "prompt/results.py", line 88, in read
    results.read(file=file, directory=dir)
  File "generic_fns/results.py", line 113, in read
    read_function(file_data)
  File "specific_fns/model_free/results.py", line 1089, in
read_columnar_results
    self._read_1_2_results(file_data, verbosity)
  File "specific_fns/model_free/results.py", line 736, in _read_1_2_results
    self._load_model_free_data(file_line, col, data_set, spin, spin_id,
verbosity)
  File "specific_fns/model_free/results.py", line 247, in
_load_model_free_data
    self._model_setup(model=model, equation=equation, params=params,
spin_id=spin_id)
  File "specific_fns/model_free/main.py", line 784, in _model_setup
    for param in params:
TypeError: 'NoneType' object is not iterable




    _______________________________________________________

Reply to this item at:

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

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




Related Messages


Powered by MHonArc, Updated Mon Jan 10 16:00:11 2011