Skip to content

Commit 447313c

Browse files
committed
wc: remove job-depends-on field in clinical-pharmacogenomics-review #TASK-8076
1 parent 6e4a6ea commit 447313c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/webcomponents/clinical/pharmacogenomics/clinical-pharmacogenomics-review.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {LitElement, html, nothing} from "lit";
22
import LitUtils from "../../commons/utils/lit-utils.js";
33
import UtilsNew from "../../../core/utils-new.js";
44
import "../../commons/forms/data-form.js";
5-
import "../../commons/filters/catalog-search-autocomplete.js";
65

76
export default class ClinicalPharmacogenomicsReview extends LitElement {
87

@@ -43,7 +42,6 @@ export default class ClinicalPharmacogenomicsReview extends LitElement {
4342
review: this.toolParams?.review || {},
4443
};
4544
// Process tool params to prepare results view
46-
this._prepareResultsView();
4745
this._fetchTranslationFileStats();
4846
this._parseGenotypingFileStats();
4947
this._config = this.getDefaultConfig();
@@ -221,7 +219,6 @@ export default class ClinicalPharmacogenomicsReview extends LitElement {
221219
const hasGenotyping = registry.genotypingFileContent && registry.genotypingFileContent.length > 0;
222220
const hasCnvGenotyping = registry.cnvGenotypingFileContent && registry.cnvGenotypingFileContent.length > 0;
223221
const translationFile = alleleTyper.translationFile || "";
224-
const results = this._data?.review?.results || [];
225222

226223
return {
227224
title: "Analysis Summary & Run",
@@ -445,31 +442,6 @@ export default class ClinicalPharmacogenomicsReview extends LitElement {
445442
}
446443
},
447444
},
448-
{
449-
title: "Depends On",
450-
field: "review.jobDependsOn",
451-
type: "custom",
452-
display: {
453-
placeholder: "Add job tags...",
454-
visible: () => !!this.opencgaSession,
455-
render: (jobDependsOn, dataFormFilterChange) => html`
456-
<catalog-search-autocomplete
457-
.resource="${"JOB"}"
458-
.opencgaSession="${this.opencgaSession}"
459-
.query="${{
460-
internalStatus: "PENDING,QUEUED,RUNNING",
461-
include: "id,name",
462-
}}"
463-
.config="${{
464-
multiple: false
465-
}}"
466-
.value="${jobDependsOn}"
467-
@filterChange="${e => dataFormFilterChange(e.detail.value)}">
468-
</catalog-search-autocomplete>
469-
`,
470-
helpMessage: "Job ID that this job depends on. The job will not start until the specified job has finished. Only jobs in PENDING, QUEUED or RUNNING status can be selected.",
471-
},
472-
},
473445
{
474446
title: "Tags",
475447
field: "review.jobTags",

0 commit comments

Comments
 (0)