e70152e44cc66cc599ff6b699eb8adc07f3e656a
kent
  Sat May 24 21:09:34 2014 -0700
Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment.
diff --git src/hg/hgTables/microarrayTables.c src/hg/hgTables/microarrayTables.c
index 47b685e..d4a6695 100644
--- src/hg/hgTables/microarrayTables.c
+++ src/hg/hgTables/microarrayTables.c
@@ -1,41 +1,44 @@
 /* Stuff to handle microarray tables */
 
+/* Copyright (C) 2009 The Regents of the University of California 
+ * See README in this or parent directory for licensing information. */
+
 #include "common.h"
 #include "hash.h"
 #include "linefile.h"
 #include "trackDb.h"
 #include "customTrack.h"
 #include "microarray.h"
 #include "hgTables.h"
 
 boolean isMicroarray(struct trackDb *parent, char *table)
 /* Return TRUE if table is specified as a microarray in the current database's
  * trackDb. */
 {
 struct trackDb *tdb = findTdbForTable(database, parent, table, ctLookupName);
 return (tdb && (startsWith("expRatio", tdb->type) || startsWith("array", tdb->type)));
 }
 
 void doOutMicroarrayNames(struct trackDb *tdb)
 /* Show the microarray names from .ra file */
 {
 struct microarrayGroups *allGroups;
 if (anyIntersection())
     errAbort("Can't do microarray names output when intersection is on. "
     "Please go back and select another output type (BED or custom track is good), or clear the intersection.");
 allGroups = maGetTrackGroupings(database, tdb);
 if (allGroups)
     {
     struct maGrouping *allArrays = allGroups->allArrays;
     int i;
     if (allArrays)
 	{
 	textOpen();
 	printf("#expId\tname\n");
 	for (i = 0; i < allArrays->size; i++)
 	    {
 	    printf("%d\t%s\n", allArrays->expIds[i], allArrays->names[i]);
 	    }
 	}
     }
 }