From e86a2e3b34ffbeec00e0354f8963faf82ec6a826 Mon Sep 17 00:00:00 2001 From: LizBaldo Date: Wed, 28 Aug 2024 11:17:35 -0400 Subject: [PATCH] filter behavior returns an iterative not a list in python 3 --- scripts/generate_version_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_version_docs.py b/scripts/generate_version_docs.py index da95f900..a8957501 100755 --- a/scripts/generate_version_docs.py +++ b/scripts/generate_version_docs.py @@ -29,7 +29,7 @@ def generate_docs(): print("current versions detected: " + str(remote_versions)) - legacy_gatk_doc = filter(lambda remote_doc: remote_doc["id"] == "terra-jupyter-gatk_legacy", remote_docs)[0] + legacy_gatk_doc = list(filter(lambda remote_doc: remote_doc["id"] == "terra-jupyter-gatk_legacy", remote_docs))[0] legacy_bioconductor_doc = utils.read_json_file(static_config_location)[0] # hard coding this until next bioconductor release (~06/2022) for image_config in image_configs: