Hi,
This bug is for real this time :)
Here is what I get I Jupyter Notebook :
%tikz --showlatex -po "node distance=\layersep" \input{neuralNetwork.tikz}
\documentclass[convert={convertexe={convert},density=300,size=400x240,outext=.png},border=0pt]{standalone}
\usepackage[]{tikz}
\usepackage{}
\usetikzlibrary{}
\begin{document}
\begin{tikzpicture}[scale=1,"node distance=\layersep"]
\input{neuralNetwork.tikz}
\end{tikzpicture}
\end{document}
BTW : layersep is a variable defined neuralNetwork.tikz as this : \def\layersep{2.5cm}
You can be solve this by doing this in your code :
picture_options·=·args.pictureoptions.strip('"')