<div dir="ltr">Hi all,<div><br></div><div>I've run into some strange behaviour which I'm hoping someone can shed some light on. I've got some lisp code I'm using to reconstruct the spanning edge of the first reading for items in profiles:</div>
<div><br></div><div><div>(defun get-item (i-id profile)</div><div> (first (tsdb::analyze profile </div><div> :condition (format nil "i-id == ~a" i-id)</div><div> :thorough '(:derivation))))</div>
<div>(defun get-item-edge (item) </div><div> (tsdb::reconstruct </div><div> (tsdb::get-field :derivation </div><div> (first (tsdb::get-field :results item)))))</div><div><br></div><div>The problem is that get-item-edge is returning nil for some items even though they have derivations. For instance I get a nil result for item 10012800 in ws01 using erg 1212 but all the other parsing items from this profile are fine:</div>
<div><br></div><div>(read-script-file-aux "~/logon/lingo/erg/lkb/script")<br></div><div>(get-item-edge (get-item "10012800" "/gold/erg/ws01"))<br></div><div>(get-item-edge (get-item "10012820" "/gold/erg/ws01"))<br>
</div><div><br></div><div>I'm also getting many more of these nil results when running using trunk erg compared to 1212. When restricted to items with readings, running over ws01, I get only 1 of these nil results for 1212 and 73 for trunk erg. csli yields none with 1212 and 1 of these with trunk erg.</div>
<div><br></div><div>Ned<br></div><div><br></div><div><br></div>-- <br><a href="http://nedned.net" target="_blank">nedned.net</a>
</div></div>