diff --git a/pyKADMOS/sample/graph.py b/pyKADMOS/sample/graph.py index 4c580c6717d0a2089b070bfe759adf5228e8e6ba..fb14c4c716093239eb0b0f26ae12678420d5059e 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.'