src/hg/encode/encodeValidate/doEncodeValidate.pl 1.191

1.191 2009/09/03 18:24:34 tdreszer
Removed hack to default missing RawSignal to on. This has the affect that raw signals are no longer auto-created unless the view is specifically defined in the DAF.
Index: src/hg/encode/encodeValidate/doEncodeValidate.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeValidate/doEncodeValidate.pl,v
retrieving revision 1.190
retrieving revision 1.191
diff -b -B -U 4 -r1.190 -r1.191
--- src/hg/encode/encodeValidate/doEncodeValidate.pl	3 Sep 2009 17:46:51 -0000	1.190
+++ src/hg/encode/encodeValidate/doEncodeValidate.pl	3 Sep 2009 18:24:34 -0000	1.191
@@ -1468,15 +1468,8 @@
         && !defined($ddfReplicateSets{$key}{VIEWS}{RawSignal})
         && !defined($ddfReplicateSets{$key}{VIEWS}{PlusRawSignal})
         && !defined($ddfReplicateSets{$key}{VIEWS}{MinusRawSignal})
         && ($daf->{dataType} ne 'MethylSeq')) {
-            # hack for case where they have removed RawSignal view in the DAF
-            # - if no (Plus|Minus|)RawSignal is defined, assume RawSignal is required
-            if(!defined($daf->{TRACKS}{RawSignal}{order})
-            && !defined($daf->{TRACKS}{PlusRawSignal}{order})
-            && !defined($daf->{TRACKS}{MinusRawSignal}{order}) ) {
-                $daf->{TRACKS}{RawSignal}{order} = ++$maxOrder;
-            }
             # Make a list of the PlusRawSignal/MinusRawSignal or RawSignals we are going to have to make
             my @newViews = ();
             push @newViews, "RawSignal" if $daf->{TRACKS}{RawSignal}{order};
             push @newViews, "PlusRawSignal" if $daf->{TRACKS}{PlusRawSignal}{order};