Skip to content

Commit 0b3df2c

Browse files
authored
Merge pull request #573 from AllenInstitute/feature/add-remove-support-for-graphs-v2
Add per sweep update for OVS and lots of minor stuff on the way to that
2 parents 6ee4550 + 2f32f68 commit 0b3df2c

14 files changed

+887
-667
lines changed

Packages/MIES/MIES_AnalysisBrowser_SweepBrowser.ipf

Lines changed: 78 additions & 175 deletions
Large diffs are not rendered by default.

Packages/MIES/MIES_AnalysisFunctions_Dashboard.ipf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ static Function/S AD_GetBaselineFailMsg(anaFuncType, numericalValues, sweepNo, h
466466
End
467467

468468
/// @brief Show the sweeps of the given `index` entry into the listbox
469-
Function AD_SelectResult(win, [index])
469+
static Function AD_SelectResult(win, [index])
470470
string win
471471
variable index
472472

Packages/MIES/MIES_ArtefactRemoval.ipf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,10 @@ Function AR_ButtonProc_RemoveRanges(ba) : ButtonControl
370370
return 0
371371
End
372372

373-
Function AR_UpdateTracesIfReq(graph, sweepFolder, numericalValues, sweepNo)
373+
Function AR_UpdateTracesIfReq(graph, sweepFolder, sweepNo)
374374
string graph
375375
variable sweepNo
376376
DFREF sweepFolder
377-
WAVE numericalValues
378377

379378
string panelTitle
380379

@@ -384,6 +383,8 @@ Function AR_UpdateTracesIfReq(graph, sweepFolder, numericalValues, sweepNo)
384383
return NaN
385384
endif
386385

386+
WAVE numericalValues = BSP_GetNumericalValues(graph, sweepNumber = sweepNo)
387+
387388
DFREF singleSweepDFR = GetSingleSweepFolder(sweepFolder, sweepNo)
388389
WAVE ranges = AR_ComputeRanges(singleSweepDFR, sweepNo, numericalValues)
389390
AR_UpdatePanel(panelTitle, ranges, singleSweepDFR)

0 commit comments

Comments
 (0)