Wim,
I don't think it was the '#' hashmark itself. In that particular line:
#ÊMake sure that code below gets called as well (could be two subsequent
chains with seqCode 1!)
There is another non-standard character right after the #, perhaps inserted
by accident?
About my problems importing the Sparky project. I observed the following
error when importing either a project, or more specifically, a Sparky peak list:
Can't set datadimrefs... no proton dim found
I traced this error to the function setDataDimRefs in
ccpnmr1.0/python/ccpnmr/format/general/Util.py
This seems to figure out the referencing / nuclear frequencies on the basis
of an assumed centering of the 1H freq on the water signal at 4.773ppm. The
thing I should mention at this point is that I was importing some solid
state NMR data, and had created some new experimental prototypes (to the
best of my abilities) that lack a proton dimension. This then caused a
problem for the function mentioned above. It looks possible to hack a quick
work-around in the code, but I was not sure in what context the procedure is
needed. I did manage to load the experiments themselves (i.e. open the
sparky files using the newly defined prototypes) and I suspect that the
function call is mostly used to generate a temporary(?) dummy experiment
during the importing of the peaks (if you don't select an existing
experiment). Any ideas/suggestions?
Patrick
|