[BioRuby-cvs] bioruby/lib/bio/db/pdb pdb.rb,1.21,1.22

Naohisa Goto ngoto at dev.open-bio.org
Thu Apr 19 13:59:31 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/db/pdb
In directory dev.open-bio.org:/tmp/cvs-serv17198/lib/bio/db/pdb

Modified Files:
	pdb.rb 
Log Message:
BUG: When parsing a pdb file with many models, but only one chain per model,
all atoms are added to residues in the first Bio::PDB::Model of the
Bio::PDB structure.
([BioRuby] bug in pdb.rb bio-1.0.0) reported by Mikael Borg.


Index: pdb.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/pdb/pdb.rb,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** pdb.rb	5 Apr 2007 23:35:41 -0000	1.21
--- pdb.rb	19 Apr 2007 13:59:29 -0000	1.22
***************
*** 1536,1539 ****
--- 1536,1540 ----
          when 'MODEL'
            c_atom = nil
+           cChain = nil
            if cModel.model_serial or cModel.chains.size > 0 then
              self.addModel(cModel)




More information about the bioruby-cvs mailing list