Skip to content

Commit

Permalink
Needed to dereference the Sequence_collection object to get the name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Howe committed Jun 14, 2019
1 parent 79ae0c8 commit 25354ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/make_assembly_manifest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@
if ($obj->{full_name} =~ /Caenorhabditis/) {
# for Caen, default to the strain name; only use assembly name if strain not defined
if (defined $strain) {
$short_label = $strain;
$short_label = $strain->name;
} elsif (defined $assembly_name) {
$short_label = $assembly_name;
$short_label = $assembly_name->name;
}
} else {
if (defined $assembly_name) {
$short_label = $assembly_name;
$short_label = $assembly_name->name;
} elsif (defined $strain) {
$short_label = $strain;
$short_label = $strain->name;
}
}
$short_label = $bioproj if not defined $short_label;
Expand Down

0 comments on commit 25354ab

Please sign in to comment.