Hi,
Ok, that sounds reasonable. I'm not sure what this would be used for,
but I look forward to finding out. For the layout in cdp and the XML
file, maybe cdp.io_basename, cdp.io_file_root, and cdp.io_dir could be
used as basic dictionaries.
Regards,
Edward
On 1 December 2014 at 19:10, Troels Emtekær Linnet
<tlinnet@xxxxxxxxxxxxx> wrote:
Hi Edward.
I am planning on making a io user function, to call an list file operation
on a directory.
This should store the outcome in cdp, for further manipulation.
So essential something like.
io.ls_dir(glob='sparky_*_.sparky', dir="X")
This would then store in cdp.
cdp.io['sparky_*_.sparky']['basename_list'] = list of str
cdp.io['sparky_*_.sparky']['file_root_list'] = list of str
cdp.io['sparky_*_.sparky']['dir'] = string
Best
Troels
2014-12-01 18:53 GMT+01:00 Edward d'Auvergne <edward@xxxxxxxxxxxxx>:
Hi Troels,
The pipe_control package is only for operations on the relax data
pipe. Is there a reason your planned changes cannot go into lib.io?
Cheers,
Edward
On 1 December 2014 at 18:49, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Mon Dec 1 18:49:46 2014
New Revision: 26877
URL: http://svn.gna.org/viewcvs/relax?rev=26877&view=rev
Log:
Copy of pipe_control nmrglue.py to io.py.
This is to add a pipe_control module for common IO operations.
This is for dealing with listing files in a directory for opening and
reading in different modules.
Task #7873 (https://gna.org/task/index.php?7873): Write wrapper function
to
Homepage: http://www.nmrglue.com/
Link to nmrglue discussion:
https://groups.google.com/forum/#!forum/nmrglue-
The code is develop at Github: https://github.com/jjhelmus/nmrglue/
Google code: https://code.google.com/p/nmrglue/
Documentation: http://nmrglue.readthedocs.org/en/latest/index.html
Added:
branches/nmrglue/pipe_control/io.py
- copied unchanged from r26802,
branches/nmrglue/pipe_control/nmrglue.py
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
relax-commits@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-devel mailing list
relax-devel@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel