From 4b03bfbdcdeb97b48e9c2dceca43485f1f402add Mon Sep 17 00:00:00 2001 From: Nikolay Akhmetov Date: Thu, 10 Aug 2023 18:03:05 -0400 Subject: [PATCH] Use concatenation instead of appending --- vitessce/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitessce/config.py b/vitessce/config.py index 4caeda16..6e51b5a6 100644 --- a/vitessce/config.py +++ b/vitessce/config.py @@ -407,7 +407,7 @@ def use_coordination(self, *c_scopes, allow_multiple_scopes_per_type=False): new_value = c_scope.c_scope if (existing_value is not None and allow_multiple_scopes_per_type): if (isinstance(existing_value, list)): - self.view["coordinationScopes"][c_scope.c_type] = existing_value.append(new_value) + self.view["coordinationScopes"][c_scope.c_type] = existing_value + [new_value] else: self.view["coordinationScopes"][c_scope.c_type] = [existing_value, new_value] else: