- Cell 6: raise a clear ValueError if no loaded machine has a barrier- opening entry, listing what's loaded vs what's annotated. Previously alignment quietly produced empty DataFrames and we crashed five cells later with a cryptic KeyError on 'distance'. - Cell 10: validate the cached CSVs (presence + expected columns + non-empty) before using them; fall through to recomputation if not. Skip writing the cache when results are empty so future runs don't pick up a 1-byte placeholder. - Cell 3: derive a 'group' column from 'male' so downstream helpers that reference fly['group'] still work. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| getting_started | ||
| flies_analysis.ipynb | ||
| flies_analysis_simple.ipynb | ||