4652765bd72b72b8360715448dd5874c93c79eb5 braney Sat Aug 17 15:07:44 2024 -0700 cartRewrite. If an old session has gnomadVariantsV4 set then set gnomadVariantsV4.1 to the same value diff --git src/hg/inc/cart.h src/hg/inc/cart.h index 1f54169..7a90d26 100644 --- src/hg/inc/cart.h +++ src/hg/inc/cart.h @@ -675,19 +675,22 @@ unsigned cartGetVersion(struct cart *cart); /* Get the current version of the cart, which is stored in the variable "cartVersion" */ void cartSetVersion(struct cart *cart, unsigned version); /* Set the current version of the cart, which is stored in the variable "cartVersion" */ void cartRewrite(struct cart *cart, unsigned trackDbCartVersion, unsigned cartVersion); /* Rewrite the cart to update it to expectations of trackDb. */ void cartTurnOnSuper(struct cart *cart, char **trackNames, unsigned numTracks, char *superTrackName); /* Turn on a supertrack if any of the subtracks are not hidden. ASSUMES ALL TRACKS ARE HIDDEN * by default. */ +void cartMatchVis(struct cart *cart, char *oldTrackName, char *newTrackName); +/* Make new track have the same visibility as an old track */ + char *cartNamedSessionDbTable(); /* Get the name of the table that lists named sessions. Don't free the result. */ #endif /* CART_H */