Commit d91f2e42 authored by Sulfyderz's avatar Sulfyderz
Browse files

[Error Update]:Correction getFRFA method in DiarTools.

parent a09c0346
......@@ -1067,8 +1067,8 @@ def getFRFA(diarHyp,diarRef,diarUem=None,tolerance=0.25,cluster="fillFRFA"):
minF=min([min(diarRef.unique('start')),min(diarHyp.unique('start'))])
diarFill=Diar()
diarFill.append(start=minF,stop=maxF)
diarRef=DiarTools.fillDiar(cluster,diarFill,diarRef)
diarHyp=DiarTools.fillDiar(cluster,diarFill,diarHyp)
diarRef=fillDiar(cluster,diarFill,diarRef)
diarHyp=fillDiar(cluster,diarFill,diarHyp)
reference = pyacore.Timeline()
for i in diarRef:
reference.add(pyacore.Segment(i['start']/100, i['stop']/100))
......
Supports Markdown
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