[BioRuby-cvs] bioruby/lib/bio reference.rb,1.24.2.2,1.24.2.3
Naohisa Goto
ngoto at dev.open-bio.org
Thu Feb 28 05:51:05 UTC 2008
Update of /home/repository/bioruby/bioruby/lib/bio
In directory dev.open-bio.org:/tmp/cvs-serv20451
Modified Files:
Tag: BRANCH-biohackathon2008
reference.rb
Log Message:
@sequence_position should be nil if no information available
Index: reference.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/reference.rb,v
retrieving revision 1.24.2.2
retrieving revision 1.24.2.3
diff -C2 -d -r1.24.2.2 -r1.24.2.3
*** reference.rb 20 Feb 2008 17:04:47 -0000 1.24.2.2
--- reference.rb 28 Feb 2008 05:51:03 -0000 1.24.2.3
***************
*** 138,142 ****
@mesh = hash['mesh']
@embl_gb_record_number = hash['embl_gb_record_number'] || nil
! @sequence_position = hash['sequence_position'] || []
@comments = hash['comments'] || []
@xrefs = hash['xrefs'] || []
--- 138,142 ----
@mesh = hash['mesh']
@embl_gb_record_number = hash['embl_gb_record_number'] || nil
! @sequence_position = hash['sequence_position'] || nil
@comments = hash['comments'] || []
@xrefs = hash['xrefs'] || []
***************
*** 280,284 ****
end
end
! if @sequence_position != ''
lines << "RP #{@sequence_position}"
end
--- 280,284 ----
end
end
! if ! @sequence_position.nil?
lines << "RP #{@sequence_position}"
end
More information about the bioruby-cvs
mailing list