Thanks John,
You are right. The output of puts $errorInfo after the readNMRSTARShiftTable
is below and indicates a problem with reading the nmrstar file. I can't tell
from the info below how to make the nmrstar file readable (probably due to
my lack of familiarity with Tcl). I started with a Sparky assignment file
and used a converter on the bmrb web site to make a nmrstar file. I manually
altered the ambiguity codes and then I did further alterations based on
initMatch3dC error messages. Could you send me an example of an nmrstar file
that you have used? I could then copy that format.
Jeff
TCL>puts $errorInfo
expected integer but got ""
while executing
"format "(resid %d and resn %s and name %s)" $resNum [string tolower
$resName] [string tolower $atomName]"
(procedure "correctedSelection" line 60)
invoked from within
"correctedSelection $curResNum $curResName $curAtomName"
("1" arm line 1)
invoked from within
"switch $curAmbiguity {
1 {set curSels [list [correctedSelection $curResNum $curResName
$curAtomName]]}
2 {set curSels [geminalAmbigSels $c..."
(procedure "readNMRSTARShiftTable" line 99)
invoked from within
"readNMRSTARShiftTable -fileName ./sybassign.str -remarksVariableName
saRemarks
_____
From: John Kuszewski [mailto:[email protected]]
Sent: Thursday, February 12, 2009 3:57 PM
To: Jeff Ellena
Cc: xplor-nih at nmr.cit.nih.gov
Subject: Re: [Xplor-nih] pasd
On Feb 12, 2009, at 3:08 PM, Jeff Ellena wrote:
Hi Jeff,
Finally the terminal output indicated
Expected integer but got ""
Can't read "shifts": no such variable
Can't read "shifts": no such variable
This looks like there's still a problem in the readNMRSTARShiftTable call,
probably caused by something odd in your sybassign.str file. Since the
readNMRSTARShiftTable call crashed, the $shifts variable never got set, and
it's unavailable to be used in the calls to reportUnassignedAtoms and
createShiftAssignments.
Try inserting a "puts $errorInfo" after the readNMRSTARShiftTable call. You
can also temporarily remove the " ; noOutput" at the end of the call to
readNMRSTARShiftTable, which might be hiding some useful clue in this
circumstance.
--JK
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://dcb.cit.nih.gov/pipermail/xplor-nih/attachments/20090212/518d3d92/attachment.html