Skip to content

Experiment: Run graph details for steps, inputs, and outputs - #1102

Merged
labkey-nicka merged 33 commits into
developfrom
fb_rungraph_deets
May 1, 2020
Merged

Experiment: Run graph details for steps, inputs, and outputs#1102
labkey-nicka merged 33 commits into
developfrom
fb_rungraph_deets

Conversation

@labkey-nicka

@labkey-nickalabkey-nicka commented Apr 28, 2020

Copy link
Copy Markdown
Contributor

Rationale

This PR incorporates changes to the Experiment Run Graph to allow for deeper inspection of the lineage for a particular run. Experiment Runs will display Run Step information, along with Data Inputs & Outputs, and Material Inputs & Outputs.

Related Pull Requests

Changes

  • Bump @labkey/components to incorporate UI updates.
  • Expose a new property, expType, via the experiment-lineage.api which provides a more deterministic experiment type than the type property. (author: @labkey-kevink).
  • Add ExperimentProtocolHandler to allow lineage API to provide query row reference for specific protocol types (author: @labkey-kevink).
  • Use ExperimentRunType to provide query row reference for runs (author: @labkey-kevink).

@labkey-jeckelslabkey-jeckels left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A few small suggestions, but overall looks good. Thanks for the JavaDoc!

Comment threadapi/src/org/labkey/api/exp/api/ExperimentJSONConverter.java Outdated

void registerProtocolImplementation(ProtocolImplementation impl);

void registerProtocolHandler(ExperimentProtocolHandler handler);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since ProtocolImplementation is an implementation of ExperimentProtocolHandler, what's the expectation for registering one? Register as both? Just as a ProtocolImplementation?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would like to combine the ProtocolImplementation and ExperimentProtocolHandler implementations and I started to do this refactor, but it was a larger change than I wanted to make right now. The ProtocolImplementation is geared more toward ExperimentRun protocol and requires setting a property on the protocol (which would have required an upgrade script for SampleManager protocols). ExperimentProtocolHandler can be used for ProtocolApplication protocols (see SamplesWorkflowTaskProtocolHandler.)

Comment threadexperiment/src/org/labkey/experiment/api/ExpProtocolApplicationImpl.java Outdated
Sign up for freeto 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.

3 participants

@labkey-nicka@labkey-kevink@labkey-jeckels