diff --git a/server/app/lib/scrapers/ensembl_api_helpers.rb b/server/app/lib/scrapers/ensembl_api_helpers.rb index 0936abd5f..74da6a728 100644 --- a/server/app/lib/scrapers/ensembl_api_helpers.rb +++ b/server/app/lib/scrapers/ensembl_api_helpers.rb @@ -24,7 +24,7 @@ def self.get_exons_for_ensembl_id(ensembl_id, warning = nil) return EnsemblResult.new(nil, res.error, warning) end elsif error_message == "ID '#{ensembl_id}' not found" - return EnsemblResult.new(nil, "Transcript doesnt exist in GRCh37 at any version: #{ensembl_id}", warning) + return EnsemblResult.new(nil, "Transcript doesn't exist in GRCh37 at any version: #{ensembl_id}", warning) else return EnsemblResult.new(nil, nil, warning) end diff --git a/server/app/models/variant.rb b/server/app/models/variant.rb index 00f19e6d8..fb4ba9834 100644 --- a/server/app/models/variant.rb +++ b/server/app/models/variant.rb @@ -98,8 +98,7 @@ def self.timepoint_query end def reindex_mps - #TODO RENABLE ME - #self.molecular_profiles.each { |mp| mp.reindex(mode: :async) } + self.molecular_profiles.each { |mp| mp.reindex(mode: :async) } end def on_revision_accepted diff --git a/server/misc_scripts/fusions/port_fusion_coords.rb b/server/misc_scripts/fusions/port_fusion_coords.rb index bf76748b7..81ab5c80e 100644 --- a/server/misc_scripts/fusions/port_fusion_coords.rb +++ b/server/misc_scripts/fusions/port_fusion_coords.rb @@ -113,7 +113,7 @@ def get_exons_for_ensembl_id(ensembl_id, variant, warning = nil) return [nil, err, warning] end elsif error_message == "ID '#{ensembl_id}' not found" - return [nil, "Transcript doesnt exist in GRCh37 at any version: #{ensembl_id}", warning] + return [nil, "Transcript doesn't exist in GRCh37 at any version: #{ensembl_id}", warning] else binding.irb return [nil, nil, warning]