diff --git a/lib/Bio/ENA/DataSubmission/CommandLine/CompareMetadata.pm b/lib/Bio/ENA/DataSubmission/CommandLine/CompareMetadata.pm index 97d0d9b..ada95c8 100644 --- a/lib/Bio/ENA/DataSubmission/CommandLine/CompareMetadata.pm +++ b/lib/Bio/ENA/DataSubmission/CommandLine/CompareMetadata.pm @@ -131,6 +131,7 @@ sub _compare_metadata{ my @conflicts; foreach my $k ( keys %ena_data ){ my $ena_v = $ena_data{$k}; + next if (!defined($ena_v)); chomp $ena_v; my $man_v = $man_data{$k}; if( defined $man_v ){