Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <exec when="init">
- from hermes.virtual import KeyedFile
- kf = KeyedFile('%s/include.dat' % gv.survey.path, key='source')</exec>
- <exec>
- if QList.r1:
- typedict = { '1':'r1', '2':'r2', '3':'r3', '4':'r4', '5':'r5', '6':'r6'}
- resp = kf.get(source)
- if resp is not None:
- S12.val = S12.attr(typedict[resp["utype"]]).index
- elif QList.r2:
- S12.val = S12.r7.index</exec>
Add Comment
Please, Sign In to add comment