From 1b3249eb74fd3636bb028cd11fef36c4c25ae9b8 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Fri, 26 Jan 2024 11:50:28 +0100 Subject: [PATCH] better fix --- .github/workflows/pr.yml | 2 +- tools/suite_qiime2_core__tools/qiime2_core__tools__import.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ad8c1c7..5a7ba94 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,7 +23,7 @@ on: # MODIFIED END env: GALAXY_FORK: galaxyproject - GALAXY_BRANCH: release_23.0 # MODIFIED + GALAXY_BRANCH: release_23.1 # MODIFIED MAX_CHUNKS: 10 # MODIFIED jobs: # the setup job does two things: diff --git a/tools/suite_qiime2_core__tools/qiime2_core__tools__import.xml b/tools/suite_qiime2_core__tools/qiime2_core__tools__import.xml index 30d8939..3908513 100644 --- a/tools/suite_qiime2_core__tools/qiime2_core__tools__import.xml +++ b/tools/suite_qiime2_core__tools/qiime2_core__tools__import.xml @@ -20,6 +20,7 @@ for: <% # This is an exercise in cheating the Cheetah import json +from collections.abc import MutableMapping def expand_collection(collection): # All of this work is just to extract the @@ -28,7 +29,7 @@ def expand_collection(collection): for d in collection] def stringify(obj): - if type(obj) is dict: + if isinstance(obj, MutableMapping): new = {} for key, value in obj.items(): if (key.startswith('__') and key.endswith('__')