Skip to content

Commit

Permalink
Merge pull request #11 from phac-nml/arborview
Browse files Browse the repository at this point in the history
Removing ArborView as a Parameter for Azure Compatibility
  • Loading branch information
emarinier authored May 14, 2024
2 parents 453246c + 1238bc4 commit c65238f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
4 changes: 0 additions & 4 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ params {
gm_thresholds = "10,5,0"
gm_delimiter = "."

// Arborview specific data
// TODO check this works in azure
av_html = "./assets/ArborView.html"

// Metadata
metadata_1_header = "metadata_1"
metadata_2_header = "metadata_2"
Expand Down
22 changes: 3 additions & 19 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@
},
"pd_missing_threshold": {
"type": "number",
"default": 1
"default": 1.0
},
"pd_sample_quality_threshold": {
"type": "number",
"default": 1
"default": 1.0
},
"pd_match_threshold": {
"type": "number",
"default": -1
"default": -1.0
},
"pd_file_type": {
"type": "string",
Expand Down Expand Up @@ -174,19 +174,6 @@
}
}
},
"arborview": {
"title": "ArborView",
"type": "object",
"description": "",
"default": "",
"properties": {
"av_html": {
"type": "string",
"default": "./assets/ArborView.html",
"hidden": true
}
}
},
"institutional_config_options": {
"title": "Institutional config options",
"type": "object",
Expand Down Expand Up @@ -354,9 +341,6 @@
{
"$ref": "#/definitions/gas_cluster"
},
{
"$ref": "#/definitions/arborview"
},
{
"$ref": "#/definitions/institutional_config_options"
},
Expand Down
1 change: 0 additions & 1 deletion tests/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

params.max_memory = "2.GB"
params.max_cpus = 1
params.av_html = "$baseDir/assets/ArborView.html"

/* This is required to run in WSL/Ubuntu using singularity
Without this, profile_dists was not successfully completing
Expand Down
2 changes: 1 addition & 1 deletion workflows/gasclustering.nf
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ workflow GASCLUSTERING {
data_and_metadata = APPEND_METADATA(clustered_data.clusters, metadata_rows, metadata_headers)
tree_data = clustered_data.tree.merge(data_and_metadata) // mergeing as no key to join on

tree_html = file(params.av_html)
tree_html = file("$projectDir/assets/ArborView.html")
ARBOR_VIEW(tree_data, tree_html)

CUSTOM_DUMPSOFTWAREVERSIONS (
Expand Down

0 comments on commit c65238f

Please sign in to comment.