[BioRuby-cvs] bioruby/lib/bio/appl/iprscan report.rb,1.7,1.8
Mitsuteru C. Nakao
nakao at dev.open-bio.org
Tue Jul 17 14:16:52 UTC 2007
Update of /home/repository/bioruby/bioruby/lib/bio/appl/iprscan
In directory dev.open-bio.org:/tmp/cvs-serv25166/lib/bio/appl/iprscan
Modified Files:
report.rb
Log Message:
* Fixed a bug in Bio::Iprscan::Report.reports_in_raw (thanks ngoto-san).
Index: report.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/iprscan/report.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** report.rb 16 Jul 2007 19:21:32 -0000 1.7
--- report.rb 17 Jul 2007 14:16:50 -0000 1.8
***************
*** 82,85 ****
--- 82,86 ----
end
end
+ yield Bio::Iprscan::Report.parse_in_raw(entry) if entry != ''
end
***************
*** 260,276 ****
@matches.map { |match|
[self.query_id,
! self.crc64,
! self.query_length,
! match.method,
! match.accession,
! match.description,
! match.match_start,
! match.match_end,
! match.evalue,
! match.status,
! match.date,
! match.ipr_id,
! match.ipr_description,
! match.go_terms.map {|x| x[0] + ': ' + x[1] + ' (' + x[2] + ')' }.join(', ')
].join("\t")
}.join("\n")
--- 261,277 ----
@matches.map { |match|
[self.query_id,
! self.crc64,
! self.query_length,
! match.method,
! match.accession,
! match.description,
! match.match_start,
! match.match_end,
! match.evalue,
! match.status,
! match.date,
! match.ipr_id,
! match.ipr_description,
! match.go_terms.map {|x| x[0] + ': ' + x[1] + ' (' + x[2] + ')' }.join(', ')
].join("\t")
}.join("\n")
More information about the bioruby-cvs
mailing list