A quick query: I have created a graph that identifies Cardinal and Intercardinal Directions of external walls hosting doors and puts an abbreviation back into a door parameter.
It does the job, it does it correctly but it also shows a warning every time it runs:
Turns out that for some strange and unknown reason the script works, however, it clearly reveals my limited knowledge of Dynamo. And it seems that you are right too: