-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,17 +102,15 @@ sub _process_row | |
my $uniquename = $Canto::Track::PubmedUtil::PUBMED_PREFIX . ":$pubmed_id"; | ||
my $pub = $self->load_util()->get_pub($uniquename, 'admin_load'); | ||
my $lab_head = $self->load_util()->get_person($lab_head_name, $lab_head_email, | ||
$user_cvterm, $lab_head_email, | ||
"0000-0000-0001-$suffix"); | ||
"0000-0000-0001-$suffix", $user_cvterm); | ||
my $lab = $self->load_util()->get_lab($lab_head); | ||
my $submitter = undef; | ||
|
||
$suffix++; | ||
|
||
if ($submitter_email) { | ||
$submitter = $self->load_util()->get_person($submitter_name, $submitter_email, | ||
$user_cvterm, $submitter_email, | ||
"0000-0000-0001-$suffix"); | ||
"0000-0000-0001-$suffix", $user_cvterm); | ||
$suffix++; | ||
} | ||
|
||
|
@@ -151,15 +149,15 @@ sub load | |
|
||
# get_person() creates the person if not found | ||
$self->load_util()->get_person('Val Wood', '[email protected]', | ||
$admin_cvterm, '[email protected]', '0000-0000-0000-123X'); | ||
'0000-0000-0000-123X', $admin_cvterm); | ||
my $dr_harris = | ||
$self->load_util()->get_person('Midori Harris', '[email protected]', | ||
$admin_cvterm, '[email protected]', '0000-0000-0000-200X'); | ||
'0000-0000-0000-200X', $admin_cvterm); | ||
$dr_harris->known_as("Dr Harris"); | ||
$dr_harris->update(); | ||
|
||
$self->load_util()->get_person('Antonia Nilsson', '[email protected]', | ||
$admin_cvterm, '[email protected]', '0000-0000-0000-300X'); | ||
'0000-0000-0000-300X', $admin_cvterm); | ||
|
||
my $csv = Text::CSV->new({binary => 1}); | ||
open my $curation_io, '<', $curation_file or die; | ||
|