AllenInstitute / AllenInstitute/MIES

SF: Error location is marked at the wrong spot in notebook

Open
#2,575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
IGOR Pro
Stars
30
Forks
11
Avg merge
1d 40m
Merged PRs (30d)
8

Description

Demo code:

sel = select(selsweeps(), selstimset("*rheo*", "*supra*"), selvis(all))
selexpA = select(selexp("*.10A.*"), $sel, selchannels(AD0), selrange(E1))
selexpB = select(selexp("*.10B.*"), $sel, selchannels(AD0), selrange(E1))
selDAA = select(selexp("*.10A.*"), $sel, selchannels(DA0), selrange(E1))
selDAB = select(selexp("*.10B.*"), $sel, selchannels(DA0), selrange(E1))
freqA = apfrequency(data($selexpA))
currentA = max(data($selDAA))
freqB = apfrequency(data($selexpB))
currentB = max(data($selDAB))

$freqA
vs
$currentA
with
$freqB
vs 
$currentB
and
avg([$freqA, $freqB], sweepgroup1)
vs
avg([$currentA, $currentB], sweepgroup)

avgMethodTesting2.zip

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported error-location behavior with the attached avgMethodTesting2.zip demo in the notebook environment, using the displayed image as the expected context. Trace how the failing expression is mapped to a notebook location; done means the error marker points to the correct spot.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.