From 2d8eff9de97e99f63c3e7fb1cf889b34a075ae58 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 25 Mar 2022 10:12:48 +0100 Subject: [PATCH] chg: [tools] adoc export now includes a skip list --- tools/adoc_galaxy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/adoc_galaxy.py b/tools/adoc_galaxy.py index 92ce9b4..bd02610 100755 --- a/tools/adoc_galaxy.py +++ b/tools/adoc_galaxy.py @@ -30,12 +30,15 @@ clusters = [] pathClusters = os.path.join(thisDir, '../clusters') pathGalaxies = os.path.join(thisDir, '../galaxies') +skip_list = ["cancer.json"] + for f in os.listdir(pathGalaxies): if '.json' in f: with open(os.path.join(pathGalaxies, f), 'r') as f_in: galaxy_data = json.load(f_in) if galaxy_data.get('namespace') != 'deprecated': - clusters.append(f) + if f not in skip_list: + clusters.append(f) clusters.sort()