Dear Vladislav,
Thanks for your reply. I had tried setting up a .proc directory with files fidSP.com, nls.hdr_3,
nls.in, proc.sh and recFT.com. However, if I run the qMDD GUI all the options are greyed out and the only thing I can click on is the 'Open spectrum' button. If I point this at the Bruker data folder I get the error 'Cannot determine TOPSPIN version' and if I point it at the .proc directory I get the error 'no fid/ser file found'. I have also tried putting the .proc directory inside the Bruker data directory (rather than at the same level) and get the 'TOPSPIN' error again.
I realise that you can run this just as a script-based programme, however, as I am very unfamiliar with the options I am not sure I am setting things up correctly. At the moment, if I run proc.sh I get the error:
Warning: CEXP corrected: new yn old nn
########## conversion from spectrometer format to nmrPipe format ../102 to ./XYZA/ft4sp.xyza.2D
Pipe streem (XYZA) ./XYZA/ft4sp.xyza.2D is ready
Error ReadInFidData: unexpected end of data in ./XYZA/ft4sp.xyza.2D 65792 of 131584
For Bruker data try to ZF to a defined size with -fn ZF -size ...
mddnmr4pipeN 1 2 3 4 5 failed
(In fidSP.com and recFT.com I have nmrPipe -fn ZF -size set already.)
I was also trying to using the example 2D gNhsqc_S for comparison. If I run the GUI here I get the error:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
agilent spectrum 'gNhsqc_S' opened OK
Traceback (most recent call last):
File "~/qMDD/mddnmr/GUI/qMDDGUI.py", line 346, in specOpen
self.procPrep()
File "~/qMDD/mddnmr/GUI/qMDDGUI.py", line 360, in procPrep
overwrite=qMDD.prepareProc(str(self.specDir.dirName()),self.specName,self.specType,self.topspinVersion,self.uiparams)
File "~/qMDD/mddnmr/GUI/qMDD.py", line 248, in prepareProc
fid.readfid()
File "~/qMDD/mddnmr/GUI/qMDDlib.py", line 135, in readfid
self.fid = np.rec.fromfile(self.fidFile, dtype = self.fhc, offset = self.off)
File "~/miniconda3/envs/py27/lib/python2.7/site-packages/numpy/core/records.py", line 780, in fromfile
_array = recarray(shape, descr)
File "~/miniconda3/envs/py27/lib/python2.7/site-packages/numpy/core/records.py", line 419, in __new__
self = ndarray.__new__(subtype, shape, (record, descr), order=order)
TypeError: 'numpy.float64' object cannot be interpreted as an index
I'm not sure if this error is due to some incompatibility with my python version (I am using Anaconda python 2.7) or some setting in that dataset.
Many thanks for your help,
Best wishes,
Mark