Skip to content

Conversation

@ankurjuneja
Copy link
Contributor

Rationale

This PR adds a new Nextflow module to easily initiate DIA (data independent analysis) through the LK pipelines, both pulling data from PanoramaWeb and uploading the results back into PanoramaWeb.

Related Pull Requests

Changes

  • new Nextflow module
  • Nextflow pipeline job

Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

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

Some requests but no need for another review unless you want it.

btnTxt = "Enable NextFlow";
}

return new HtmlView("Enable/Disable Nextflow", DIV("Enable/Disable Nextflow",
Copy link
Contributor

Choose a reason for hiding this comment

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

These kinds of UIs can be confusing about what's the current vs future state.

In addition to the button, let's clearly state "NextFlow is currently enabled in this folder" (or disabled).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

{
PropertyStore store = PropertyManager.getNormalStore();
PropertyManager.PropertyMap map = store.getWritableProperties(NextFlowManager.NEXTFLOW_ENABLE, false);
if (map == null || !"true".equals(map.get("enabled")))
Copy link
Contributor

Choose a reason for hiding this comment

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

Boolean.parseBoolean()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@Override
public void addNavTrail(NavTree navTree)
{

Copy link
Contributor

Choose a reason for hiding this comment

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

Append to the nav trail to give the page a title

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

this._apiKey = apiKey;
try
{
setLogFile(FileUtil.createTempFile("NextFlowPipelineJob", ".log"));
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't be a temp file. Create a file based on the current date/time in the pipeline root. See MaintenancePipelineJob for an example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@ankurjuneja ankurjuneja merged commit 3507a86 into release24.7-SNAPSHOT Nov 1, 2024
@ankurjuneja ankurjuneja deleted the 24.7_fb_nextflow branch November 1, 2024 22:37
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.

3 participants