[BioRuby-cvs] bioruby/lib/bio/db/pdb pdb.rb,1.26,1.27

Naohisa Goto ngoto at dev.open-bio.org
Fri Dec 28 14:43:46 UTC 2007


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

Modified Files:
	pdb.rb 
Log Message:
changes made from 1.25 to 1.26 were still incomplete and additional changes are added


Index: pdb.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/pdb/pdb.rb,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** pdb.rb	28 Dec 2007 14:31:06 -0000	1.26
--- pdb.rb	28 Dec 2007 14:43:44 -0000	1.27
***************
*** 1394,1402 ****
          case t
          when :JRNL
!           d = Jrnl::Definition[str[12..15].to_s.strip]
          when :REMARK
            case str[7..9].to_i
            when 1
!             d = Remark1::Definition[str[12..15].to_s.strip]
            when 2
              if str[28..37] == 'ANGSTROMS.' then
--- 1394,1406 ----
          case t
          when :JRNL
!           ts = str[12..15].to_s.strip
!           ts = ts.intern unless ts.empty?
!           d = Jrnl::Definition[ts]
          when :REMARK
            case str[7..9].to_i
            when 1
!             ts = str[12..15].to_s.strip
!             ts = ts.intern unless ts.empty?
!             d = Remark1::Definition[ts]
            when 2
              if str[28..37] == 'ANGSTROMS.' then




More information about the bioruby-cvs mailing list