-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WHere the official PythonPlugin #25
Comments
Anwser to myself for 2. There is a hidden file 'python_modules/.config.py' in which is wrong |
I wanty to contribute, where is the good place repo ? https://github.com/NeuroNetMem/PythonPlugin or https://github.com/open-ephys-plugins/PythonPlugin |
Hey @samuelgarcia, The NeuroNetMem repository is the original while the open-ephys-plugins repository is more of an official adoption of the plugin. It looks like the open-ephys-plugins version has been cleaned up to work with cmake, but perhaps someone else can confirm this. Assuming you are working with a recent version of open-ephys, I would recommend working with the open-ephys-plugins version. In the past, I most certainly would have recommended using anaconda over pip+virtualenv as any deviation from the instructions typically resulted in multiple compilation issues. That being said, cmake might have cleaned up those issues. Give your pip+virtualenv setup a try with the open-ephys-plugins version and feel free to post any errors you run into here. If you are interested in contributing your python plugins, that would be warmly welcomed! We currently do not have a proper space for them. I don't think we should add them to the python plugin repository as that could add significant overhead to users. Probably best to make a PythonPlugin-Plugins account where they can all be stored. That is something I can do. When it is setup I will let you know. If you meant making changes to the C++ python plugin source code, I think we should get this repository up to date and then make changes here. Let me know if that's what you meant and I can look into it. |
Thanks you for the answer. I think you should synchronize the master branch of the 2 repo very soon!!! I was able to compile my first test of python plugin but but in the GUI I can select the plugin (it works) when I start the grabbing the erros bar say "no plugin selected". My contribution would be:
So very little stuff at the moment. i won't inspect the C++ wrapper at the moment. The work is already amazing. About proposing python plugin themself it is a bit early for me. So if there is somewhere a PythonPlugin-Plugins repo I can help. |
You can see here https://github.com/open-ephys-plugins/PythonPlugin/commits/master Pavel Kulik and Anjal Doshi made some change for cmake. |
Looking at this https://github.com/NeuroNetMem/PythonPlugin/network/members The work of cmake from open-ephys-plugins have NOT been merge here. Would you be OK if I make a PR here from there work ? |
I discover that the branch NeuroNetMem/cmake_build have nothing to do with the open-pehys-plugin/master. Do you plan to merge the cmake_build in the master ? |
With the branch NeuroNetMem/cmake_build I am able to compile the c++ plugin and one dumy python plugin. but the ./open-ehys fail on startup. My guess is that PYTHONHOME is not settle corrrectly. I have this
I am supposed to have py37 from my virtualenv do you when/where this PYTHONENV is done ? EDIT : My bad : I compile outsitde the virtualenv. Sorry. |
Sorry for this long list of errors:
And this went I press "play" button and the GUI tell me "plugin not ready"
I suspect that that the PythonPlugin use the wring python env because there is no "numpy" and so many method do not succed on C++ side. (this is why the plugin is not ready). Any idea how to fix this PYTHONHOME or python env ? |
Anwser to myself: In the branch NeuroNetMem/cmake_build, the actual CMakeList.txt rely on an environ variable CONDA_HOME which do not exists in pip+virtualenv. This CONDA_HOME is then copied into PYTHON_HOME. So doing In case CONDA_HOME is null, maybe we could do that with something like: |
We’d like to check whether that still works with conda as that would remain the preferred method
Thanks Francesco
…On 15 May 2020, 14:23 +0200, Garcia Samuel ***@***.***>, wrote:
Anwser to myself:
In the branch NeuroNetMem/cmake_build, the actual CMakeList.txt rely on an environ variable CONDA_HOME which do not exists in pip+virtualenv.
This CONDA_HOME is then copied into PYTHON_HOME.
So doing export CONDA_HOME=/path/to/py/env before the cmake fix the problem.
In case CONDA_HOME is null, maybe we could do that with something like:
echo $VIRTUAL_ENV no ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
And about merging the cmake_build into master ? |
@samuelgarcia what operating system are you on? I spoke with the people over at open ephys and they said the python plugin at open-ephys-plugins is working for linux and Mac. You do have to use anaconda, however. |
Windows was working too last time I checked
cheers, Francesco
…On 15 May 2020, 15:21 +0200, Clayton Barnes ***@***.***>, wrote:
@samuelgarcia what operating system are you on? I spoke with the people over at open ephys and they said the python plugin at open-ephys-plugins is working for linux and Mac. You do have to use anaconda, however.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I am on ubuntu 18.04 now. I am now able to run some basic test with pip+virtualenvwrapper pip+virtualenvwrapper is important to me on linux. Thank you very much for help. Yes the version of open-ephys-plugins is working but it diverge from your cmake_build branch. They should not have a divergent version in there master this is very confusing. I would higly advice:
So official PR and folder organisation would be here. |
Hi all,
@fpbattaglia
Thank you for this plugin.
I am totally new in open-ephys plugin and new to this plugin.
I am trying to connect my real time spike sorting engine (tridesclous) to open-ephys.
Sorry for basic questions.
Where is the official place for this PythonPlugin just here or there. It is strange because issues are here but master is more recent in repo openephys-plugins
python setup.py build_ext --inplace
do not work because of path stuffthe source path is supposed to be "../../PythonPlugin" but in fact in should "../../Source"
This must be link to a "config.py" but I can't find it.
I don't use conda but pip+virtualenv. Is it a problem ?I guess no.
There is a "Utils/build-linux.sh" file, could you confrim that it is useless with the CMake new apprroach .
Could you help me ?
The main tips would be which repo and which branch is working.
Thanks a lot.
Samuel
The text was updated successfully, but these errors were encountered: