Should read truth data from the parser options rather than direct from args
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2301 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
f7c44ad019
commit
987fced151
|
|
@ -615,6 +615,12 @@ def main():
|
|||
fields = OPTIONS.fields.split(',')
|
||||
|
||||
truthVCF = None
|
||||
#print("LENGTH OF ARGS "+str(len(args)))
|
||||
|
||||
if OPTIONS.truth <> None:
|
||||
truthVCF = OPTIONS.truth
|
||||
readTruth(truthVCF)
|
||||
|
||||
if len(args) > 1:
|
||||
truthVCF = args[1]
|
||||
TRUTH_CALLS = readTruth(truthVCF)
|
||||
|
|
@ -654,4 +660,4 @@ if __name__ == "__main__":
|
|||
p.sort_stats('time').print_stats(10)
|
||||
p.sort_stats('time', 'cum').print_stats(.5, 'init')
|
||||
else:
|
||||
main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Reference in New Issue