MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Logfile asserts: "Could not find an edge"

Open t-b opened this issue 2 years ago • 1 comments

Example:

{
  "action": "assert",
  "exp": "2023_03_28_155848",
  "id": "4539fc5",
  "message": "Could not find an edge",
  "source": "ASSERT",
  "stacktrace": "Stacktrace:
   DQM_FIFOMonitor(...)#L139 [MIES_DataAcquisition_Multi.ipf]
   AS_HandlePossibleTransition(...)#L105 [MIES_AcquisitionStateHandling.ipf]
   AFM_CallAnalysisFunctions(...)#L135 [MIES_AnalysisFunctionManagement.ipf]
   PSQ_Chirp(...)#L4501 [MIES_AnalysisFunctions_PatchSeq.ipf]
   PSQ_CR_GetSpikeEvaluationRange(...)#L4629 [MIES_AnalysisFunctions_PatchSeq.ipf]
   PSQ_GetPulseDurations(...)#L211 [MIES_AnalysisFunctions_PatchSeq.ipf]
   PSQ_DeterminePulseDuration(...)#L255 [MIES_AnalysisFunctions_PatchSeq.ipf]
   ",
  "ts": "2023-03-28T16:09:35.937-07:00"
}

Experiments:

"2022_05_26_200549"
"2023_02_07_140042"
"2023_03_06_131925"
"2023_03_09_120624"
"2023_03_28_155848"
"2023_04_04_124444"
"2023_04_10_130206"
"2023_04_11_125118"
"2023_04_13_141646"
"2023_04_14_114222"
"2023_04_26_090004"
"2023_04_26_104528"
"2023_04_28_092237"
"2023_04_28_124657"

Files:

.\W10DT1120232-08-audrey.mcc-2023-04-18T16_29_55Z\Log.jsonl.1SESuX
.\W10DT1120232-07-krista.blake-2023-04-14T18_26_11Z\Log.jsonl.5dqKMF
.\W10DT1120232-03-svc-ivscc-2023-04-11T16_10_14Z\Log.jsonl.iZkN43
.\W10DT1120232-03-svc-ivscc-2023-04-12T17_39_55Z\Log.jsonl.k2vUhh
.\W10DT1120232-03-svc-ivscc-2023-03-29T19_08_40Z\Log.jsonl.Pc08oq
.\W10DT1120232-03-svc-ivscc-2023-03-07T17_05_50Z\Log.jsonl.FCkXSQ
.\W10DT1120232-03-svc-ivscc-2023-02-08T20_24_55Z\Log.jsonl.SiUm2L
.\W10DT1120232-03-svc-ivscc-2023-01-04T16_51_35Z\Log.jsonl.wFsyLo
.\W10DT1120232-01-balreet.pawar-2023-05-02T16_12_38Z\Log.jsonl.N7JGTt
.\W10DT1120232-01-balreet.pawar-2023-04-27T17_48_31Z\Log.jsonl.sIBkl8
.\W10DT1120232-01-balreet.pawar-2023-04-05T16_14_27Z\Log.jsonl.0QZkau
.\W10DT1120232-01-balreet.pawar-2023-03-10T17_56_28Z\Log.jsonl.1oOw0Y

Code:

Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf=static Function/WAVE PSQ_DeterminePulseDuration(device, sweepNo, type, totalOnsetDelay)
Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf:           ASSERT(!V_Flag, "Could not find an edge")
Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf:           ASSERT(!V_Flag, "Could not find an edge")

t-b avatar May 23 '23 18:05 t-b

File from issue 881: Gad2-IRES-Cre;Ai14-709273.06.02.02.nwb Sweep 29.

Explanation is that baseline QC failed, so we aborted early and by chance the pulse was not complete when stopping. We should handle this without asserting out.

MichaelHuth avatar Apr 23 '24 15:04 MichaelHuth