From 22d4b20257ac9af9fbd80b331517084a4e32cf27 Mon Sep 17 00:00:00 2001 From: Scott Ouellette Date: Thu, 22 Mar 2018 16:37:39 -0400 Subject: [PATCH 1/2] Lets use `file_url` to be able to show some extra info per track since `filename_Characteristics_generic_s` has since been removed from Refinery --- context/on_startup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/context/on_startup.py b/context/on_startup.py index e061f40..df1e920 100644 --- a/context/on_startup.py +++ b/context/on_startup.py @@ -24,9 +24,8 @@ def write_igv_configuration(): tracks.append( { "name": "{} - {}".format( - node_data["node_solr_info"][ - "filename_Characteristics_generic_s"], - node_data["node_solr_info"]["name"] + node_data["node_solr_info"]["name"], + node_data["file_url"] ), "url": node_data["file_url"] } From 63e3e49a9a7125cf95e2d061d7537b141f9b8f79 Mon Sep 17 00:00:00 2001 From: Scott Ouellette Date: Thu, 22 Mar 2018 16:37:59 -0400 Subject: [PATCH 2/2] Update test data; Remove `filename_Characteristics_generic_s` --- input_fixtures/good/input.json | 1 - input_fixtures/missing_assembly/input.json | 1 - input_fixtures/no_parameters/input.json | 1 - 3 files changed, 3 deletions(-) diff --git a/input_fixtures/good/input.json b/input_fixtures/good/input.json index f476646..fb4b203 100644 --- a/input_fixtures/good/input.json +++ b/input_fixtures/good/input.json @@ -32,7 +32,6 @@ "technology_Characteristics_generic_s": "DNA microarray", "measurement_Characteristics_generic_s": "transcription profiling", "organism_Characteristics_720_361_s": "Mus musculus", - "filename_Characteristics_generic_s": "040909%20DT%20MOUSE%20430%202.0%20Sample%20526.CEL", "organism_part_Characteristics_generic_s": "Bone marrow", "technology_source_Characteristics_generic_s": "OBI", "REFINERY_FILETYPE_720_361_s": "Affymetrix Probe Results File", diff --git a/input_fixtures/missing_assembly/input.json b/input_fixtures/missing_assembly/input.json index 08f1f2e..2c927a2 100644 --- a/input_fixtures/missing_assembly/input.json +++ b/input_fixtures/missing_assembly/input.json @@ -32,7 +32,6 @@ "technology_Characteristics_generic_s": "DNA microarray", "measurement_Characteristics_generic_s": "transcription profiling", "organism_Characteristics_720_361_s": "Mus musculus", - "filename_Characteristics_generic_s": "040909%20DT%20MOUSE%20430%202.0%20Sample%20526.CEL", "organism_part_Characteristics_generic_s": "Bone marrow", "technology_source_Characteristics_generic_s": "OBI", "REFINERY_FILETYPE_720_361_s": "Affymetrix Probe Results File", diff --git a/input_fixtures/no_parameters/input.json b/input_fixtures/no_parameters/input.json index 08b62ea..a61ce1a 100644 --- a/input_fixtures/no_parameters/input.json +++ b/input_fixtures/no_parameters/input.json @@ -32,7 +32,6 @@ "technology_Characteristics_generic_s": "DNA microarray", "measurement_Characteristics_generic_s": "transcription profiling", "organism_Characteristics_720_361_s": "Mus musculus", - "filename_Characteristics_generic_s": "040909%20DT%20MOUSE%20430%202.0%20Sample%20526.CEL", "organism_part_Characteristics_generic_s": "Bone marrow", "technology_source_Characteristics_generic_s": "OBI", "REFINERY_FILETYPE_720_361_s": "Affymetrix Probe Results File",