Open
Description
I run my Python code in the terminal via
Python my_code.py.
The code uses functions that are saved in a separate file. All of the files are located in the same folder.
In the my_code.py I successfully import SPM viafrom spm import *
However, I get the following mistake:
D = meeg(nChans,nSamples,nTrials)
^^^^
NameError: name 'meeg' is not defined
This is part of the code within the separate function.
When I run all of it in VS code line by line, everything seems to be working
Metadata
Metadata
Assignees
Labels
No labels