Repository navigation
Icf cpheapm 108 new mechanistic module - #6
Draft
tfeiler-icf wants to merge 30 commits into
Draft
tfeiler-icf wants to merge 30 commits into
tfeiler-icf wants to merge 30 commits into
Conversation
enables CRUD for mechanistic experiments via the HAWC UI (note - this is a manual reconstruction of commit b55ccb3e0c1be0dd896b899bd5904d766f6101d7 from the old shapiromatron repo; couldn't use standard Git commands to bring it over easily as there was sha divergence)
struggle getting this working with htmx so there's a slight workaround at the moment. But it's functional.
…experiment (note - this is a manual reconstruction of commit 8dd8cdba9ac01383cd189c1b2102710f69c2eaaf from the old shapiromatron repo; couldn't use standard Git commands to bring it over easily as there was sha divergence)
(note - this is a manual reconstruction of commit a097640ab995f5723b26aed1d5ef84cfb3427223 from the old shapiromatron repo; couldn't use standard Git commands to bring it over easily as there was sha divergence)
(note - this is a manual reconstruction of commit f14ef197242c7b9267e12d4996e7851d4b9662d4 from the old shapiromatron repo; couldn't use standard Git commands to bring it over easily as there was sha divergence)
- get EHV working in mechanistic module - also adds support for contingent fields (e.g. "only show field X if field Y has value Z") in the JsonListWidget
includes a mdification to the JSONListWidget that cropped up when moving to the base Experiment object.
- add link to animalv1/invivo experiment (associated with same study) to mechanistic experiment - add "name" field to Method - add fk to Method to DataAnalysis - add fk to Method to MechanisticEndpoint
mechanistic migration was depending on a shapiromatron-only migration; redoing to point at latest usepa one. This is first commit for mechanistic that wasn't brought over automatically/manually from the shapiromatron repo.
tfeiler-icf
commented
Jul 22, 2026
|
|
||
| return json.dumps(json_safe_schema) | ||
|
|
||
| def render(self, name, value, attrs=None, renderer=None): |
Collaborator
Author
There was a problem hiding this comment.
This is kinda clunky / quick-and-dirty...if we end up using/needing it (and depending on how model evolves, we might not) would probably be nice to put the html bits into a template instead of generating them inline.
This branch has not been deployed
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
30E4
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.
Just a draft so EPA can take a look, pull down to run to eval, etc.