Error importing out.nef into ccpnnr

Hi there,

I’ve just finished a structure calculation using ccpnmr 3.2.10 and xplor 3.9, however I am having issues importing my out.nef file back into ccpnnr. I was able to do this successfully with the tutorial data file, so I think it is somehow a problem with the out.nef file that was generated. Here is what the command line output for ccpnmr says when I tried to import my out.nef file:

ERROR at token 25781
WARNING: NefRunTimeError[‘error loading file’]:
CcpnNefImporter.loadFile: Error in context: [‘data_nef_test1’, ‘save_nef_nmr_spectrum_600nhsqc-noesy1’], at token stop_, line: 1475
loop Loop:_nef_peak.index is missing 12 values (ErrorLog._logError:215)
Traceback (most recent call last):
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/widgets/DropBase.py”, line 227, in dropEvent
if not widg._dropEventCallback(dataDict):
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/lib/GuiNotifier.py”, line 217, in call
self._callback(callbackDict, **self._kwargs)
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/MainWindow.py”, line 1512, in _processDroppedItems
dataLoader, createsNewProject, ignore = self.ui._getDataLoader(url)
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/Gui.py”, line 653, in _getDataLoader
ok = self.mainWindow._showNefPopup(dataLoader)
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/MainWindow.py”, line 775, in _showNefPopup
dialog = ImportNefPopup(parent=self,
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/popups/Dialog.py”, line 77, in call
instance._postInit()
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/popups/ImportNefPopup.py”, line 3191, in _postInit
self.fillPopup()
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/popups/ImportNefPopup.py”, line 3314, in fillPopup
nefWindow._fillPopup(obj)
File “/usr/local/bin/ccpnmr/src/python/ccpn/ui/gui/popups/ImportNefPopup.py”, line 2664, in _fillPopup
self._nefLoader._clearNef(self.project, self._nefDict)
File “/usr/local/bin/ccpnmr/src/python/ccpn/framework/lib/ccpnNef/CcpnNefIo.py”, line 2977, in clearSaveFrames
return self.traverseDataBlock(project, dataBlock, True, selection=None, traverseFunc=self._clearSaveFrame)
File “/usr/local/bin/ccpnmr/src/python/ccpn/framework/lib/ccpnNef/CcpnNefIo.py”, line 2988, in traverseDataBlock
result = _traverse(self, project, dataBlock, projectIsEmpty, selection, traverseFunc)
File “/usr/local/bin/ccpnmr/src/python/ccpn/framework/lib/ccpnNef/CcpnNefCommon.py”, line 59, in _traverse
if metaDataFrame := dataBlock[‘nef_nmr_meta_data’]:
KeyError: ‘nef_nmr_meta_data’

I am not quite sure what the issue is here, any insights would be greatly appreciated! Thanks in advance

Tess

Hi Tess,

Thank you for reporting it, sorry you are having troubles.
If possible, it would be helpful if you could send us your out.nef file (support@ccpn.ac.uk).
I will look into this asap.

Eliza

Done! Thanks Eliza