You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Experiment field to Create/Edit Sample form #92
Finding: The Sample model has an experiment field (TextField(blank=True, null=True)) and the sample detail page displays it (e.g. "Experiment: EXP_W21B"), but the Create Sample form and the sample detail Edit form only show Name, Source, Notes, and Access level. Users cannot set or change experiment from the UI.
Where:
krill/sample/forms.py — SampleForm has fields = ['name', 'source', 'notes', 'access_level']
Recommendation: Add experiment to SampleForm.Meta.fields (and ensure create/edit templates render it) so users can optionally set or change experiment; keep it optional to match the model.
Activity
olsonjp commentedon Nov 10, 2026
Already in place:
experimentis inSampleFormand renders on the create and edit pages. #186 added tests that lock it in.