[BioRuby] bug in pdb.rb bio-1.0.0
Mikael Borg
mikael.borg at utoronto.ca
Sat Apr 14 15:03:02 UTC 2007
Quoting Toshiaki Katayama <ktym at hgc.jp>:
> Hello Mikael,
>
> Thank you for your patch.
> Could you prepare your patch in unified diff format? (diff -u)
>
> Alex or Goto-san, could you confirm this patch fixes the problem?
> (as I don't use PDB usually).
>
> Thanks,
> Toshiaki
>
bio-1.0.0$ diff -up lib/bio/db/pdb/pdb.rb.orig lib/bio/db/pdb/pdb.rb
--- lib/bio/db/pdb/pdb.rb.orig 2007-04-13 17:42:19.000000000 -0400
+++ lib/bio/db/pdb/pdb.rb 2007-04-13 17:46:08.000000000 -0400
@@ -1503,6 +1503,7 @@ module Bio
when 'MODEL'
c_atom = nil
+ cChain = nil
if cModel.model_serial or cModel.chains.size > 0 then
self.addModel(cModel)
end
More information about the BioRuby
mailing list