X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=6c18a83052329dcddf29c42d149e38fd94d1e898;hb=2c57e5577630b2cc49fe831ff5cf3b49b9629567;hp=d26795c406a3921c3387a2e6e08f87b4992ac6d2;hpb=61148e50735498a356ffd95b5a79faf1dc6b9d82;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index d26795c4..6c18a830 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -442,6 +442,7 @@ sub normal } } + my @spot = Spot::prepare($field[1], $field[2], $d, $field[5], $field[6], $field[7]); # global spot filtering on INPUT if ($self->{inspotsfilter}) { @@ -451,7 +452,10 @@ sub normal return; } } - + + # this goes after the input filtering, but before the add + # so that if it is input filtered, it isn't added to the dup + # list. This allows it to come in from a "legitimate" source if (Spot::dup($field[1], $field[2], $d, $field[5])) { dbg("PCPROT: Duplicate Spot ignored\n") if isdbg('chanerr'); return;