src/hg/utils/automation/Encode.pm 1.59

1.59 2010/03/23 20:22:12 kate
Add support for DAF dataAgreementSuffix field
Index: src/hg/utils/automation/Encode.pm
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/automation/Encode.pm,v
retrieving revision 1.58
retrieving revision 1.59
diff -b -B -U 4 -r1.58 -r1.59
--- src/hg/utils/automation/Encode.pm	22 Mar 2010 23:28:22 -0000	1.58
+++ src/hg/utils/automation/Encode.pm	23 Mar 2010 20:22:12 -0000	1.59
@@ -385,9 +385,11 @@
 
 sub compositeTrackName
 {
     my ($daf) = @_;
-    return $compositePrefix . $daf->{compositeSuffix};
+    return $compositePrefix . 
+        $daf->{compositeSuffix} . 
+        (defined($daf->{dataAgreementSuffix}) ? $daf->{dataAgreementSuffix} : "");
 }
 
 sub downloadDir
 {