Skip to content

Commit

Permalink
Fixed bug:Writes new pub_ids instead of legacy pub_ids.
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersiddhu committed Apr 15, 2011
1 parent 9bb9c41 commit 62e172a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Modware/Export/Command/dictygaf.pm
Expand Up @@ -143,8 +143,7 @@ sub get_provenance {
my ( $self, $row ) = @_;
my $pub = $row->pub->uniquename;
if ( $pub =~ /^PUB/ ) {
$pub =~ s/^PUB//;
return 'dictyBase_REF:' . $pub;
return 'dictyBase_REF:' . $row->pub_id;
}
return $self->pubmed_namespace . ':' . $pub;
}
Expand Down

0 comments on commit 62e172a

Please sign in to comment.