Skip to content

Commit

Permalink
filter behavior returns an iterative not a list in python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBaldo committed Aug 28, 2024
1 parent 759f2b3 commit e86a2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_version_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e86a2e3

Please sign in to comment.