<div dir="ltr">Hi all,<div><br></div><div>I&#39;ve run into some strange behaviour which I&#39;m hoping someone can shed some light on. I&#39;ve got some lisp code I&#39;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 &quot;i-id == ~a&quot; i-id)</div><div>                        :thorough &#39;(: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 &quot;~/logon/lingo/erg/lkb/script&quot;)<br></div><div>(get-item-edge (get-item &quot;10012800&quot; &quot;/gold/erg/ws01&quot;))<br></div><div>(get-item-edge (get-item &quot;10012820&quot; &quot;/gold/erg/ws01&quot;))<br>
</div><div><br></div><div>I&#39;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>