Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Icf cpheapm73 79 add observations #1149

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

ZindahFarhaICF
Copy link
Collaborator

@ZindahFarhaICF ZindahFarhaICF commented Dec 19, 2024

Updates from tickets 73, 74, 79 for displaying toxrefdb observations

https://jira.epa.gov/browse/CPHEAPM-19
https://jira.epa.gov/browse/CPHEAPM-79

serializer_class = serializers.GuidelineProfileSerializer
filename = "guideline_profiles"

def get_queryset(self, guideline=None) -> QuerySet:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exports guideline profiles for an experiment

/>
<label class="custom-control-label">&nbsp;</label>
<span class="fa fa-spin fa-spinner float-right htmx-indicator"></span>
{% elif status == "tested_status" %}
Copy link
Collaborator Author

@ZindahFarhaICF ZindahFarhaICF Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently if a user isn't logged in, they can view (but not edit) observations, so they don't see the input checkbox

@ZindahFarhaICF ZindahFarhaICF marked this pull request as ready for review December 31, 2024 16:26
@shapiromatron shapiromatron self-assigned this Jan 8, 2025
Copy link
Owner

@shapiromatron shapiromatron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just like #1118, I think this needs to be applied to animalv2 instead of animal.

To do that, I think this PR may need to be closed and reworked and then submitted as new PR that should be merged into the bioassay-v2 branch, not the main branch.

I think a lot of the code in the hawc.apps.animal will need to be modified and adapted to hawc.apps.animalv2. Hopefully that won't be too painful?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants