Commit 4857a846 authored by Reed Essick's avatar Reed Essick

fixed a few bugs associated with delegation to ovl.predict through idq.ovl_evaluate

Original: 8ac7ab2e8321c8a10e0a73ccdf71b982e6b129e1
parent 3745b9d7
......@@ -8,6 +8,7 @@ import os
import numpy as np
from laldetchar.idq import ovl
from laldetchar.idq import idq
from laldetchar.idq import event
......@@ -106,6 +107,9 @@ else:
datfile = os.path.basename(patfile).replace(".pat", ".ovldat")
output_dir = os.path.dirname(patfile)
if not output_dir: ### an empty string, meaning it is in the current directory
output_dir = '.'
### actually run the evaluation
idq.ovl_evaluate(
vetolist,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment