From 0bc9691d6900eab37fa18a94648d4def8f79d3d8 Mon Sep 17 00:00:00 2001 From: Ryan Dale Date: Sun, 14 Apr 2024 08:58:56 -0400 Subject: [PATCH 01/17] update parser --- trackhub/parse.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trackhub/parse.py b/trackhub/parse.py index 4accdde5..c1200a6f 100644 --- a/trackhub/parse.py +++ b/trackhub/parse.py @@ -161,6 +161,12 @@ def keep(tag): for i in d: div = i.parent + + # 2024-04-13: maxWindowCoverage appears to be wrapped in an + # additional , so we need to get *it's* parent. + if div.name == 'code': # not 'div'... + div = div.parent + _id = div.attrs['class'] assert len(_id) == 1 _id = _id[0] From 5a4e73ffb3eb8d585662c481e13a00371e9d1cbc Mon Sep 17 00:00:00 2001 From: Ryan Dale Date: Sun, 14 Apr 2024 08:59:10 -0400 Subject: [PATCH 02/17] add new parsed params --- trackhub/parsed_params.py | 173 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 167 insertions(+), 6 deletions(-) diff --git a/trackhub/parsed_params.py b/trackhub/parsed_params.py index 3b383009..5a36cfc5 100644 --- a/trackhub/parsed_params.py +++ b/trackhub/parsed_params.py @@ -132,7 +132,21 @@ fmt=['bamSkipPrintQualScore .'], types=['bam'], required=False, - validator=set(['.'])), + validator=str), + + Param( + name="barChartBarMinPadding", + fmt=['barChartBarMinPadding '], + types=['bigBarChart'], + required=False, + validator=str), + + Param( + name="barChartBarMinWidth", + fmt=['barChartBarMinWidth '], + types=['bigBarChart'], + required=False, + validator=str), Param( name="barChartBars", @@ -155,6 +169,13 @@ required=False, validator=str), + Param( + name="barChartFacets", + fmt=['barChartFacets '], + types=['bigBarChart'], + required=False, + validator=str), + Param( name="barChartLabel", fmt=['barChartLabel