AllenNeuralDynamics / AllenNeuralDynamics/aind-ophys-roicat-session-matching

Unreliable plane index definition

未關閉
#9 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

In path_io.py, plane_index is defined by os.listdir(session_dir) in load_session_planes (https://github.com/AllenNeuralDynamics/aind-ophys-roicat-session-matching/blob/main/code/path_io.py#L51). But this requires assumption that the plane indices remain the same across sessions. This was violated when new types of files are added (e.g., 9697b3bc-5085-4aac-b475-7235b9cf80fc).

Instead, it would be better to list plane ids across sessions first, dub indices to them (based on numbering at the end, or by sorting the plane names), and then run the rest of the pipeline.

It failed when running 823831 due to added files such as "-46.0.tif"

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。