Proposal to standardise the nesting level of strings
Created by: Moult
I see that most nodes return this pattern [[n]]
, where n
is an integer, a list of three coordinates for a vertex, or a list of two indices for an edge. I also see a lot of this pattern, which makes sense due to the nested list:
x_out = []
for a, b, c in zip_long_repeat(...):
...
x_out.append()
However, then I see some examples like the File Path
node which gives ['foo bar']
. Shouldn't this be [['foo bar']]
?
Another example is the Note
node, which gives [[['foo'], ['bar']]]
. Shouldn't this also be [['foo bar']]
, and then another node should split by whitespace, which can then convert it into [['foo', 'bar']]
?