Syntax Warning
Posted: Fri May 29, 2020 2:18 pm
I'm getting a syntax warning whenever I run my code, but I have no idea where it could be coming from. The warning is:
Here is example output from hoc code that builds a simplified stellate cell as a template object (the mod files aren't all necessarily being used):
So this output happens when I run my code in app called coderunner or sublime text 3 for osx; in case of sublime text 3 it seem to recognize the spine mod file and fails to run. When I run from the command line I don't get the error at all and everything works fine. Are there some kind of flags I'm not using in the command line that the applications are using?
Any help understanding where this syntax warning could be coming from would be appreciated.
Code: Select all
<stdin>:114: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Code: Select all
NEURON -- VERSION 7.7.2 7.7 (2b7985ba) 2019-06-20
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2018
See http://neuron.yale.edu/neuron/credits
loading membrane mechanisms from /Users/name/Documents/Neuron/Neural Correlator/Run Models/Build & Test Simple Stellate/x86_64/.libs/libnrnmech.so
Additional mechanisms from files
Exp2SynAMPA.mod Exp2SynNMDA_ref.mod Exp2SynNMDA_tar.mod Exp2SynNMDA_test.mod Gfluct.mod IKM.mod Nap.mod ampa.mod gclamp.mod hcn.mod kap.mod kdr.mod na8st.mod nmdanet_drv.mod nmdanet_mod.mod presynSTD.mod presynSTD_ref.mod presynSTD_tar.mod spines.mod vecevent.mod
<stdin>:114: SyntaxWarning: "is not" with a literal. Did you mean "!="?
oc>
Any help understanding where this syntax warning could be coming from would be appreciated.