Princeton-LSI-ResearchComputing / tracebase

Mouse Metabolite Tracing Data Repository for the Rabinowitz Lab
MIT License
4 stars 1 forks source link

Add Collection Time attribute to Sample #32

Closed jcmatese closed 3 years ago

jcmatese commented 3 years ago

FEATURE DESCRIPTION

Feature Inspiration

Currently, the only time in the Animal-Sample models is age, which was mentioned by Michael to be in units of "weeks" However, there is no "time post infusion" metric directly associated with the sample [probably measured in minutes]. This is also needed for the calculation of some of the Fcirc values in #43.

Feature Description

Add a field to the Sample model, for concept of "time post infusion" metric in minutes (or "sampling_time"). To be discussed...

~Add help_text for columns that might benefit~ superseded by #44

Make animal and tissue nullable for sample

Alternatives Considered

none

Comment

reference: "specific timing of tissue collection (tissues may be collected after anywhere from 1 minute to over 24 hours of infusion)."


ISSUE OWNER SECTION

Assumptions

Requirements

Limitations

Affected/Changed Components

DESIGN

GUI Change description

Describe changes the user will see.

Code Change Description (Pseudocode optional)

Describe code changes planned for the feature.

Tests

A test should be planned for each requirement (above), where possible.

hepcat72 commented 3 years ago

Do you intend to take this issue @jcmatese?

jcmatese commented 3 years ago

Not on my calendar. Take it if you want (I did not really precisely specify it, though)