[BioRuby-cvs] bioruby/lib/bio/appl pts1.rb,1.2,1.3

Mitsuteru C. Nakao nakao at dev.open-bio.org
Mon Jun 5 02:55:53 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/appl
In directory dev.open-bio.org:/tmp/cvs-serv22296/lib/bio/appl

Modified Files:
	pts1.rb 
Log Message:
* added Bio::PTS1::Report#entry_id.


Index: pts1.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/pts1.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pts1.rb	9 May 2006 08:18:49 -0000	1.2
--- pts1.rb	5 Jun 2006 02:55:51 -0000	1.3
***************
*** 175,178 ****
--- 175,181 ----
    class Report
  
+     # Query sequence name.
+     attr_reader :entry_id
+ 
      # Amino acids subsequence at C-terminal region.
      attr_reader :cterm
***************
*** 229,232 ****
--- 232,237 ----
        @output.each do |line|
          case line
+         when /Name<\/td><td>(\S.+)<\/td><\/tr>/
+           @entry_id = $1
          when /C-terminus<\/td><td>(\w+)<\/td>/
            @cterm = $1




More information about the bioruby-cvs mailing list