Add notebook showing how to customize prepare_inputs#834
Draft
Add notebook showing how to customize prepare_inputs#834
prepare_inputs#834Conversation
Agent-Logs-Url: https://github.com/lincc-frameworks/hyrax/sessions/f0a179d6-09ce-4523-8d00-3487b668873b Co-authored-by: drewoldag <47493171+drewoldag@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add notebook to demonstrate modifying prepare_data method
Add notebook showing how to customize Mar 26, 2026
prepare_inputs
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #834 +/- ##
=======================================
Coverage 64.85% 64.85%
=======================================
Files 61 61
Lines 5899 5899
=======================================
Hits 3826 3826
Misses 2073 2073 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Description
Adds a notebook demonstrating how to swap the
prepare_inputsstatic method on a model class to customize input preprocessing.Solution Description
New notebook
docs/notebooks/custom_prepare_inputs.ipynbwalks through:h.model()and inspecting its defaultprepare_inputsAlso adds the notebook entry to
docs/common_workflows.rst.Code Quality
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.