Closed drikusroor closed 3 months ago
Your pull request is modifying functions with the following pre-existing issues:
📄 File: backend/experiment/views.py
Function | Unhandled Issue |
---|---|
get_experiment_collection |
ValueError: min() arg is an empty sequence /serve... Event Count: 7 |
get_experiment_collection |
Participant.DoesNotExist: Participant matching query does not exist. /server/experimen... Event Count: 3 |
Did you find this useful? React with a 👍 or 👎
This pull request adds an 'active' field to the ExperimentCollection model, allowing experiment collections to be marked as active or inactive. If an experiment collection is marked as active, it will return a 404 not found when requested through the
get_experiment_collection
endpoint. It also updates the ExperimentCollectionAdmin views to include the 'active' field in the list display and form fields. Additionally, it includes a fix for a test related to the experiment series admin list display.Resolves #1124