Skip to content

Commit

Permalink
fix typos to make codespell happy
Browse files Browse the repository at this point in the history
  • Loading branch information
acoffman committed Sep 16, 2024
1 parent 00bf230 commit 2bdc268
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/app/lib/scrapers/ensembl_api_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions server/app/models/variant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/misc_scripts/fusions/port_fusion_coords.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 2bdc268

Please sign in to comment.