Skip to content
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

Experiment module: duplicate/ copy variables and plot attributes from one study period to the next #693

Open
aislinnpearson opened this issue Jul 5, 2024 · 0 comments
Assignees
Labels
Effort: large Less than 1 week Variable update Issues relating to variable update in the experiment module

Comments

@aislinnpearson
Copy link
Collaborator

aislinnpearson commented Jul 5, 2024

To make it easier to create a Study Plan for the long term experiments, we need to consider how to duplicate a study plan including the plots, variables boundaries.

Following an initial discussion with @paul121 and @mstenta this will be a separate, standalone step to duplicating plans (see #752). The ideal process here I think is also a bit simpler, but would again benefit from some discussion around functionality. Ideally I think the process would look something like the below:

  1. You can either upload your own variables (as at present) or there is a button to duplicate from a different plan
  2. If you opt to duplicate, you are asked to select which of the three files/ elements you want to duplicate. The logic here should be that you can
    i. copy the columns only from the plan you want to duplicate, and then upload your own column levels and plot attributes; or
    ii. copy both columns and column levels from the plan you want to duplicate, and then upload your own plot attributes; or
    iii. copy the columns, column levels and plot attributes from the plots you want to duplicate
  3. Regardless of the option selected this action should only be allowed once:
    i. The study plan has been created
    ii. The study plan has been given an experiment code
    iii. The plots have been created
    iv. The logic for checking the variable uploads should also remain the same (columns are checked against column levels, columns and column levels are checked against plot attributes, the number of plot attributes matches the number of plots)
  4. There should then be an additional box asking 'Do you want to duplicate the plot geometry'
    i. If yes, the plot geometry is copied across from the selected plan
    ii. If no, then you have the option to upload your own geometry or skip this step (e.g. if you want to upload plot geometry later). This is fully specified in issue Experiment module: duplicate/ copy plot geometries from one study period to the next  #756
  5. Duplicating these elements should include a note to say which study plan (with revision version) the column, column levels and/or plot attributes have been copied from (similar to the functionality for duplicating proposals)

This needs to be considered in relation to issues described in #540
See also #743 (specifically this comment here)
Duplicating experiment boundaries is specified in #757

@aislinnpearson aislinnpearson added Experiment Module Data Model Issues which require a change to the data model used by Rothamsted Effort: large Less than 1 week Effort: xlarge More than 1 week (split into smaller issues) user experience/ HCD Issues related to improving the user experience/ HCD labels Jul 5, 2024
@github-project-automation github-project-automation bot moved this to Issues for Triage in FarmOS Feature Requests Jul 5, 2024
@aislinnpearson aislinnpearson moved this from Issues for Triage to Queued Issues in FarmOS Feature Requests Aug 2, 2024
@aislinnpearson aislinnpearson added Monitor Issues which need to be monitored over time and removed Data Model Issues which require a change to the data model used by Rothamsted Effort: xlarge More than 1 week (split into smaller issues) user experience/ HCD Issues related to improving the user experience/ HCD labels Aug 19, 2024
@aislinnpearson aislinnpearson added Variable update Issues relating to variable update in the experiment module and removed Experiment Module labels Aug 21, 2024
@aislinnpearson aislinnpearson changed the title Experiment module: duplicate/ copy plots and boundaries from one study period to the next Experiment module: duplicate/ copy variables, plot attributes and geometry from one study period to the next Aug 28, 2024
@aislinnpearson aislinnpearson added this to the 2.24.0 milestone Aug 28, 2024
@aislinnpearson aislinnpearson removed the Monitor Issues which need to be monitored over time label Aug 28, 2024
@aislinnpearson aislinnpearson moved this from Monitor to Queued Issues in FarmOS Feature Requests Aug 28, 2024
@aislinnpearson aislinnpearson added aa parent tracking issue An issue with two or more sub-issues and removed aa parent tracking issue An issue with two or more sub-issues labels Sep 6, 2024
@aislinnpearson aislinnpearson changed the title Experiment module: duplicate/ copy variables, plot attributes and geometry from one study period to the next Experiment module: duplicate/ copy variables and plot attributes from one study period to the next Sep 6, 2024
@aislinnpearson aislinnpearson removed their assignment Sep 6, 2024
@aislinnpearson aislinnpearson removed this from the 2.24.0 milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort: large Less than 1 week Variable update Issues relating to variable update in the experiment module
Projects
Status: Queued Issues
Development

No branches or pull requests

2 participants