be4311c07e14feb728abc6425ee606ffaa611a58 markd Fri Jan 22 06:46:58 2021 -0800 merge with master 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 */