bd0a18827dcd91e4fae812f795e2a39968535627 braney Thu Jan 21 16:52:04 2021 -0800 when building beta or public, check on hgwbeta and hgw0 for files referenced by bigDataUrl rather than assuming that they exist if they exist on dev diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index defca50..aa44877 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -1053,16 +1053,25 @@ /* Return the RefSeq NC_000... accession for chrom if we can find it, else just chrom. * db must never change. */ char *abbreviateRefSeqSummary(char *summary); /* strip off the uninformative parts from the RefSeq Summary text: the repetitive note * about the publication subset and the Evidence-Data-Notes */ boolean isMito(char *chrom); /* Return True if chrom is chrM or chrMT */ char *hdbDefaultKnownDb(char *db); /* Get the default knownGene database from the defaultKnown table. */ char *hdbGetMasterGeneTrack(char *knownDb); /* Get the native gene track for a knownGene database. */ + +boolean trackDataAccessibleRemote(char *database, struct trackDb *tdb, char *remoteLogin); +/* Return TRUE if underlying data are accessible - meaning the track has either + * a bigDataUrl with remote URL (http:// etc), a bigDataUrl with an existing local file, + * or a database table with the same name. + * Note: this returns FALSE for composite tracks; use this on subtracks or simple tracks. + * + * if remoteLogin is not NULL, use it when looking for the file */ + #endif /* HDB_H */