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

Unreliable plane index definition

オープン
#9 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。