Skip to content

Topic/repetitive measurements2 #5233

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 215 commits into
base: master
Choose a base branch
from

Conversation

lukasmueller
Copy link
Member

@lukasmueller lukasmueller commented Dec 4, 2024

Description

  1. Added an option to store multiple or time-series values for any given trait.
  2. A separate "Repetitive Measurement" section has been added to the trial detail page, allowing users to view multiple values using a date-range slider. Additionally, a date-range slider has been incorporated into the Phenotype Summary Stats section, enabling users to view values within a specific time period..
  3. User can also download the multiple values with different options including: first value, last value, averaged values, sum values, and all values [single line and multi-line]. Additionally, these options are also available under the Repetitive_Measurements section on the Trial Detail Page as well.
  4. To visualize the trend of repetitive values, a line graph has been added. This option is available ONLY when "All Values" is selected under the Repetitive Measurement level.

Fixes: #5201, #5152 , #5271, #3878, #4419, #3630

Checklist

  • Refactoring only
  • Documentation only
  • Fixture update only
  • Bug fix
    • The relevant issue has been closed.
    • Further work is required.
  • New feature
    • Relevant tests have been created and run.
    • Data was added to the fixture
      • Data was added via a patch in /t/data/fixture/patches/.
    • User-Facing Change
      • The user manual in /docs has been updated.
    • Any new Perl has been documented using perldoc.
    • Any new JavaScript has been documented using JSDoc.
    • Any new legacy JavaScript has been moved from /js to /js/source/legacy.

lukasmueller and others added 30 commits February 27, 2024 10:18
…d UI elements for downloads; adapt code to changes.
Copy link
Contributor

@ryan-preble ryan-preble left a comment

Choose a reason for hiding this comment

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

this statment occurs twice in CXGN/Stock.pm sub store:
if ($self->check_name_exists) { $exists = $self->exists_in_database() }

Copy link
Member

@dwaring87 dwaring87 left a comment

Choose a reason for hiding this comment

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

I ran into a few small bugs getting the proper cvterm props to load

Copy link
Member

Choose a reason for hiding this comment

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

You may want to increase the folder number for the DB Patch since this number has already been used

my $end_time = $params->{observationTimeStampRangeEnd}->[0] || undef;
my $start_date = $params->{observationTimeStampRangeStart}->[0] || undef;
my $end_date = $params->{observationTimeStampRangeEnd}->[0] || undef;
my $repetitive_measurements_type = $params->{repetitiveMeasurements_type} || 'average'; #use default to average
Copy link
Member

Choose a reason for hiding this comment

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

Is repetitiveMeasurements_type part of the BrAPI spec?


=cut

sub store {
Copy link
Member

Choose a reason for hiding this comment

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

there are a lot of print STDERR lines in this sub

Copy link
Member

Choose a reason for hiding this comment

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

the my keyword on line 233 is causing the trait_cvterm variable to be undefined later on since the variable is already declared on line 220

Copy link
Member

Choose a reason for hiding this comment

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

The variable trait_property_names on line 116 is missing trait_repeat_type, without this the cvterm prop is not stored.

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

Successfully merging this pull request may close these issues.

feedback from allison
6 participants