Closed sneusse closed 8 years ago
Hi sneusse, Thanks for widening my views with Julia and Jupyter, interesting. First are you using a tagged version, pypi or gitub (then what version) ? Some answers:
Regards
Aymeric
Good morning Aymeric,
Thanks for the fast response. I started hacking on the mdfreader-0.1.9.3 tarball.
It is true that the basic use-case would be a name-based channel access. But this could also be accomplished when using a list structure, we would need some iteration of course and maybe yield a set of channels instead of a single channel. Maybe it would be beneficial to store instances of the recordChannel
class (or something similar).
Regarding point 3: This is most likely an issue with the Python -> PyCall -> Julia interface. PyCall notices that your class is some kind of dictionary (as it inherits from dict
) and converts it to a 'native' Julia dictionary object. These dictionary objects won't have the instance methods of the python object anymore. If the class does not inherit from dict
, PyCall does not know what to do and yields a wrapper of the python object, which can be used to invoke the instance methods.
Regards Sebastian
Hi sneusse, In latest git commit, I did fundamental refactoring that could help you to get rid of dictionnary structure. I actually created new mdf_skeleton class that defines how data is stored in mdf class. As mentionned, probably some methods are missing for the moment but I guess it could be good start for you. I have small knowledge about Julia... Tell me if you still struggle. Regards Aymeric
Hi sneusse, Thanks for the proposal regarding latin encoded, it will be implemented. In last github commit ::
Feel fre to repoen this issue or update about your adaptation to Julia.
Hi ratal,
I recently found this module and played with it for some time - I like it so far! Please note that I'm not really a python-guy, I'm trying to use this from Julia via PyCall (I'm also not really a Julia-guy either, but whatever...)
Here is my system:
Some things I noticed while testing:
dict
but to aggregate adict
inside the class, so everyself[channelName]
becomesself.channels[channelName]
instead.A lot of trial and error was involved as I consider myself a beginner in both languages, so maybe there are no issues and I'm just stupid :) I'm not really familiar with the git process, so if you need the code I'll send it to you. During the next few days I'll try to convert the lib (mdf3 only for now) to a list-based structure - maybe this will work.
Regards Sebastian