mail[bug #7675] PDB instance has no attribute 'load_seq' in saved state


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

Header


Content

Posted by Chris MacRaild on November 08, 2006 - 18:23:

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

                 Summary: PDB instance has no attribute 'load_seq' in saved
state
                 Project: relax
            Submitted by: macraild
            Submitted on: Wednesday 11/08/2006 at 17:23
                Category: relax's source code
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: Other (missing version)
        Operating System: None

    _______________________________________________________

Details:

If I load the attached state file, then do:

pdb.create_tensor_pdb('test')

I get:

Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/home/chris/relax_devel/pdb_tensor/prompt/pdb.py", line 113, in
create_tensor_pdb
    self.__relax__.generic.pdb.create_tensor_pdb(run=run, scale=scale,
file=file, dir=dir, force=force)
  File "/home/chris/relax_devel/pdb_tensor/generic_fns/pdb.py", line 246, in
create_tensor_pdb
    if not self.load_seq and not len(self.relax.data.res[self.run]):
AttributeError: PDB instance has no attribute 'load_seq'

The saved state is simply the result of the following sequence:

run.create('test','mf')
pdb.read('test', 'abp_600MHz_tensorFrame.pdb')
pdb.vectors('test')
tensor = (1.537e7, 1.087e7, 0, 0)
diffusion_tensor.init('test', tensor, param_types = 3,
spheroid_type='prolate', fixed=0)
state.save('tensor_test.state', force=1)

pdb.create_tensor_pdb('test') works after explicitly re-entering that command
sequence.

    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wednesday 11/08/2006 at 17:23 By: Chris MacRaild <Chris MacRaild>
If I load the attached state file, then do:

pdb.create_tensor_pdb('test')

I get:

Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/home/chris/relax_devel/pdb_tensor/prompt/pdb.py", line 113, in
create_tensor_pdb
    self.__relax__.generic.pdb.create_tensor_pdb(run=run, scale=scale,
file=file, dir=dir, force=force)
  File "/home/chris/relax_devel/pdb_tensor/generic_fns/pdb.py", line 246, in
create_tensor_pdb
    if not self.load_seq and not len(self.relax.data.res[self.run]):
AttributeError: PDB instance has no attribute 'load_seq'

The saved state is simply the result of the following sequence:

run.create('test','mf')
pdb.read('test', 'abp_600MHz_tensorFrame.pdb')
pdb.vectors('test')
tensor = (1.537e7, 1.087e7, 0, 0)
diffusion_tensor.init('test', tensor, param_types = 3,
spheroid_type='prolate', fixed=0)
state.save('tensor_test.state', force=1)

pdb.create_tensor_pdb('test') works after explicitly re-entering that command
sequence.





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
Available only the item webpage     | Submitted the item



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 11/08/2006 at 17:23  Name: tensor_test.state.bz2  Size: 190kB
  By: macraild

<http://gna.org/bugs/download.php?file_id=1479>

    _______________________________________________________

Reply to this item at:

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

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




Related Messages


Powered by MHonArc, Updated Thu Nov 09 17:00:29 2006