try and get the hops correct
[spider.git] / perl / Thingy / Dx.pm
index ee06c978c3799f9cb8013e36d8e872a5b4c4ffd4..feab1b94c83f93295d82b03beed5a9faf61ad445 100644 (file)
@@ -66,6 +66,7 @@ sub gen_DXProt
        unless ($thing->{DXProt}) {
                my $sd = $thing->{spotdata};
                my $hops = $thing->{hops} || DXProt::get_hops(11);
+               $hops = "H$hops" unless $hops =~ /^H/;
                my $text = $sd->[3] || ' ';
                $text =~ s/\^/\%5E/g;
                my $t = $sd->[2];