Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the bioperl CPAN distribution.

Report information
The Basics
Id: 58491
Status: new
Priority: 0/
Queue: bioperl

People
Owner: Nobody in particular
Requestors: pysar7 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.6.1
Fixed in: (no value)



Subject: Bulk Update with Bio::DB::SeqFeature::Store
Download (untitled) / with headers
text/plain 651b
Perl 5.8.8 on Mac OS X Leopard (Darwin 9.8.0) Whenever updates are done with bulk update enabled, the module ignores the primary id and creates a new record. Sample code: my $db = Bio::DB::SeqFeature::Store->new( -adaptor => 'DBI::mysql', -dsn => "dbi:mysql:gbrowse:localhost:3306"); my $tf = $db->fetch(4813993); $db->start_bulk_update; print "TF: $tf->{start} $tf->{primary_id} $tf->{type} $tf->{source}\n"; $tf->source("deep30"); $db->store($tf); $db->finish_bulk_update; print "After update: $tf->{start} $tf->{primary_id} $tf->{type} $tf->{source}\n"; Output: TF: 311137 4813993 SNPFreq After update: 311137 7717152 SNPFreq deep30


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.