From 1eb236235879bd545168c075d8411a4a82e31b3d Mon Sep 17 00:00:00 2001
From: imcovangent <I.vanGent@tudelft.nl>
Date: Thu, 30 Mar 2017 10:47:03 +0200
Subject: [PATCH] KE-Chain workshop - bug fix merge functions

Former-commit-id: 13a315f67530755c2775a6cc9cc3f813203506c0
---
 pyKADMOS/sample/graph.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyKADMOS/sample/graph.py b/pyKADMOS/sample/graph.py
index 4c580c671..fb14c4c71 100644
--- a/pyKADMOS/sample/graph.py
+++ b/pyKADMOS/sample/graph.py
@@ -1371,7 +1371,7 @@ class KadmosGraph(nx.DiGraph):
 
         # Handle the fact that the *args could also be a list or tuple directly
         if len(args) == 1 and (isinstance(args[0], tuple) or isinstance(args[0], list)):
-            args = [args[0]]
+            args = list(args[0])
 
         # Input assertions
         assert len(args) > 1, 'More than 1 input argument is required.'
@@ -1428,7 +1428,7 @@ class KadmosGraph(nx.DiGraph):
 
         # Handle the fact that the *args could also be a list or tuple directly
         if len(args) == 1 and (isinstance(args[0], tuple) or isinstance(args[0], list)):
-            args = [args[0]]
+            args = list(args[0])
 
         # Input assertions
         assert len(args) > 1, 'More than 1 input is required for this function.'
-- 
GitLab