From 25354ab2f6fb57385b7ea8171f8a8fce85d800b5 Mon Sep 17 00:00:00 2001 From: Kevin Howe Date: Fri, 14 Jun 2019 10:25:42 +0100 Subject: [PATCH] Needed to dereference the Sequence_collection object to get the name --- scripts/make_assembly_manifest.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/make_assembly_manifest.pl b/scripts/make_assembly_manifest.pl index 147495cdb..aa9b8d392 100644 --- a/scripts/make_assembly_manifest.pl +++ b/scripts/make_assembly_manifest.pl @@ -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;