Repository navigation
Conversation
|
Naoto,
I have no experience packaging python modules, so I'll leave it to you.
You can always create your own branch of the repository, do whatever you
want, than issue a pull request at which point we can merge your work
into the trunk.
Also, I urge you to incorporate your xdf_to_lsl stream tool!
Cheers,
David
…On 6/14/17 12:13 PM, Naoto HIÉDA wrote:
Hi, I found xdf for python is extremely useful and I think it should
be packaged so that you don't need to copy xdf.py to all the project
directories.
TODO:
* I made a stub setup.py so feel free to edit it if you merge
(currently I added @cboulay <https://github.com/cboulay> as the
author)
* license should be specified in setup.py
* Current folder structure is
|xdf/ Matlab/ pyxdf/ pyxdf/ __init__.py |
but maybe pip cannot find it if it's registered on PyPI? Should it be
|xdf/ Matlab/ xdf/ __init__.py |
instead? Or should a separate repository be created?
Thanks,
Naoto
------------------------------------------------------------------------
You can view, comment on, or merge this pull request online at:
#10
Commit Summary
* python package
File Changes
* *R* pyxdf/pyxdf/__init__.py
<https://github.com/sccn/xdf/pull/10/files#diff-0> (0)
* *A* pyxdf/setup.py
<https://github.com/sccn/xdf/pull/10/files#diff-1> (11)
Patch Links:
* https://github.com/sccn/xdf/pull/10.patch
* https://github.com/sccn/xdf/pull/10.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADch7gaYqfr9Df7EoXVcFJrkb1C1oNHrks5sD7JLgaJpZM4N5q9k>.
|
|
Sorry I haven't taken a look at this yet. I will try to get to it soon. |
|
another possibility may be to integrate this in |
|
I'd prefer keeping this in a separate |
|
@cbrnr thanks about that. So far I'm testing it with Python 3.6 on Windows 10 and working fine - at least for single stream recorded by LabRecorder. I haven't tested multiple streams and markers. Although I don't think I will be largely involved in dev of (py)xdf, I'm making a tool to playback xdf file and stream it to LSL: |
|
Any news on this front? |
|
as @cbrnr says probably it's a good idea to make another repository for |
|
I don't think that's what @cbrnr was saying. It doesn't need to be another repository, it just needs to be an isolated package. I think the reason there hasn't been any movement on this is that we know that pyxdf is inefficient and hasn't been tested very thoroughly. I think we'd like to make it a little more robust before it goes on pypi, but no one has the time to do that. |
|
ok. in my opinion if pyxdf is published on pypi then it may get more feedback, too. |
|
I agree with @micuat. For the package to be on pypi it doesn't have to be perfect ... but it could spark wider use and with that more feedback. @cboulay, could you specify what you mean by
Furthermore, I think that it would be great if the author/person in charge could upload a |
|
License added. I think that at a minimum we should have some unittests that load and inspect a few different very small data files. |
| from setuptools import setup | ||
|
|
||
| setup(name='pyxdf', | ||
| version='0.1', |
There was a problem hiding this comment.
should be 1.14.0, see code.
| version='0.1', | ||
| description='Python library for importing XDF (Extensible Data Format)', | ||
| url='http://github.com/sccn/xdf', | ||
| author='Chadwick Boulay', |
There was a problem hiding this comment.
Should be Christian Kothe (for setup.py, only one author should be specified so it could also be Alejandro Ojeda)
There was a problem hiding this comment.
I'd try to contact the original authors Christian Kothe and Alejandro Ojeda - if they don't want to maintain the package, I'd prefer to specify the current maintainer's contact details in setup.py. I think this field is supposed to contain the package author anyway, but I'm not sure.
| description='Python library for importing XDF (Extensible Data Format)', | ||
| url='http://github.com/sccn/xdf', | ||
| author='Chadwick Boulay', | ||
| author_email='[email protected]', |
There was a problem hiding this comment.
Should be [email protected] (or the email of Alejandro ... depending on who is listed as author)
| url='http://github.com/sccn/xdf', | ||
| author='Chadwick Boulay', | ||
| author_email='[email protected]', | ||
| license='MIT', |
|
I think that adding XDF support to NEO would be a better idea than having a separate XDF package. However, it will probably involve even more work than getting the simple pyxdf package to pypi. Until someone has some time to first add some unit tests and then think about adding pyxdf to NEO, I propose to merge this PR by @micuat so that the pyxdf package can at least be installed with:
|
|
Since I don't use XDF in my workflow, I don't have the time to contribute to this package at the moment. However, I'd prefer a |
|
@sappelhoff thanks a lot for the comments. It would be great if you could make a new pull request so you can make changes directly. |
…eeg stream latencies, instead of assuming any sampling rate.
|
I don't know who actually wrote this module (I sem to remember it was cboulay?) though I guess it is in the git history. I'm pretty sure it wasn't Christian or Alejandro. |
|
No, there's only one commit which says "Added Python loader from Christian". The license text mentions Christian and Alejandro. Anyway, since this is BSD licensed we are free to reuse it in MNE, which is what I think is the best way forward. Let's mention both in the list of authors and add whoever does further work on it. |
|
@cbrnr, I stand corrected. |
MINOR: add rcond parameter to use future precise numpy default
| url='http://github.com/sccn/xdf', | ||
| author='Chadwick Boulay', | ||
| author_email='[email protected]', | ||
| license='MIT', |
There was a problem hiding this comment.
oh sorry I edited the branch for my project. I thought @sappelhoff has a branch that can be merged. If that is the case I will take down this pr.
There was a problem hiding this comment.
@micuat I stopped working with XDF for now and I think your branch is better suited for a merge.
|
Now part of #21 |
Hi, I found xdf for python is extremely useful and I think it should be packaged so that you don't need to copy xdf.py to all the project directories.
TODO:
but maybe pip cannot find it if it's registered on PyPI? Should it be
instead? Or should a separate repository be created?
Thanks,
Naoto