Skip to content

Commit

Permalink
core: workflow manager and imoprt first implementation ready
Browse files Browse the repository at this point in the history
  • Loading branch information
imedina committed Nov 5, 2024
1 parent 4a0e388 commit 3760905
Show file tree
Hide file tree
Showing 14 changed files with 1,254 additions and 170 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"bootstrap-3-typeahead": "^4.0.2",
"bootstrap-colorpicker": "2.3.6",
"bootstrap-select": "1.14.0-beta3",
"bootstrap-table": "1.21.2",
"bootstrap-table": "1.22.6",
"bootstrap-treeview": "[email protected]:jonmiles/bootstrap-treeview.git#develop",
"bootstrap-validator": "~0.11.9",
"clipboard": "^2.0.6",
Expand Down
10 changes: 10 additions & 0 deletions src/core/clients/opencga/api/Workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ export default class Workflow extends OpenCGAParentClass {
return this._get("workflows", null, null, null, "distinct", {field, ...params});
}

/** Execute a Nextflow analysis.
* @param {Object} data - Repository parameters.
* @param {Object} [params] - The Object containing the following optional parameters:
* @param {String} [params.study] - Study [[organization@]project:]study where study and project can be either the ID or UUID.
* @returns {Promise} Promise object in the form of RestResponse instance.
*/
importWorkflow(data, params) {
return this._post("workflows", null, null, null, "import", data, params);
}

/** Execute a Nextflow analysis.
* @param {Object} data - NextFlow run parameters.
* @param {Object} [params] - The Object containing the following optional parameters:
Expand Down
2 changes: 1 addition & 1 deletion src/sites/iva/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<!-- build:css[assets/css/vendor.css] -->

<!-- Bs5 css -->
<link rel="stylesheet" href="../../../node_modules/bootstrap/dist/css/bootstrap_startbootstrap.min.css">
<link rel="stylesheet" href="../../../node_modules/bootstrap/dist/css/bootstrap.min.css">

<!-- bootstrap-select -->
<link rel="stylesheet" href="../../../node_modules/bootstrap-select/dist/css/bootstrap-select.min.css">
Expand Down
3 changes: 3 additions & 0 deletions src/webcomponents/commons/analysis/analysis-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export default class AnalysisUtils {
...paramSections,
{
title: "Job Info",
display: {
className: "p-2"
},
elements: [
{
title: "Job ID",
Expand Down
Loading

0 comments on commit 3760905

Please sign in to comment.