Skip to content

chore: bootstrap GIAnT-python from aind-library-template#1

Merged
m-xie merged 5 commits intomainfrom
copilot/setup-giant-python-structure
Mar 27, 2026
Merged

chore: bootstrap GIAnT-python from aind-library-template#1
m-xie merged 5 commits intomainfrom
copilot/setup-giant-python-structure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 27, 2026

  • Explore GIAnT-MATLAB repo structure on dev branch
  • Understand current Python repo state
  • Add numpy to pyproject.toml dependencies
  • Create src/giant_python/build_trial_table.py stub
  • Create src/giant_python/build_trial_table_slap2.py stub
  • Create src/giant_python/motion_correction/ subpackage (multi_roi_registration, strip_registration)
  • Create src/giant_python/source_extraction/ subpackage (sel_act)
  • Create src/giant_python/utils/ subpackage (interp_frame, scanimagetiff_data_wrapper, scanimagetiff_wrapper, set_params, verify_files, xcorr2_nans_weighted, slap2/get_online_motion)
  • Create test files for each module (13 tests, 100% coverage)
  • Verify flake8, interrogate (100%), and coverage (100%) all pass
Original prompt

I will be making a package to run the same scripts as in https://github.com/AllenNeuralDynamics/GIAnT-MATLAB/tree/dev, but translated to Python. Without adding in any functionality, can you set up GIAnT-Python with the basic structure and organization to do this?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Establish basic structure for GIAnT-Python package chore: bootstrap GIAnT-python from aind-library-template Mar 27, 2026
Copilot AI requested a review from m-xie March 27, 2026 19:04
Copilot stopped work on behalf of m-xie due to an error March 27, 2026 19:05
- Remove aind-library-template guard from tag job in tag_and_publish.yml
  so semantic version bumps will work on GIAnT-python
- Delete init.yml (one-time initialization workflow, no longer needed)

Agent-Logs-Url: https://github.com/AllenNeuralDynamics/GIAnT-python/sessions/d544d58f-6b5a-47d7-8aa8-f9db13e46988

Co-authored-by: m-xie <3156070+m-xie@users.noreply.github.com>
- Add numpy to dependencies
- Add build_trial_table and build_trial_table_slap2 stub modules
- Add motion_correction subpackage (multi_roi_registration, strip_registration)
- Add source_extraction subpackage (sel_act)
- Add utils subpackage (interp_frame, scanimagetiff_data_wrapper,
  scanimagetiff_wrapper, set_params, verify_files, xcorr2_nans_weighted,
  slap2/get_online_motion)
- Add tests for all new modules (100% coverage, flake8/interrogate clean)

Agent-Logs-Url: https://github.com/AllenNeuralDynamics/GIAnT-python/sessions/73ad5306-2e31-464d-9ba6-5c2414a5472a

Co-authored-by: m-xie <3156070+m-xie@users.noreply.github.com>
@m-xie m-xie marked this pull request as ready for review March 27, 2026 20:40
@m-xie m-xie merged commit 94d8b57 into main Mar 27, 2026
3 checks passed
@m-xie m-xie deleted the copilot/setup-giant-python-structure branch March 27, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants