Skip to content

Commit

Permalink
addressing PR #839 requests from @alancleary
Browse files Browse the repository at this point in the history
  • Loading branch information
adf-ncgr committed Jun 23, 2023
1 parent 78c0197 commit 5308e97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/core/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AppConfig, Brand, Communication, DashboardView, Dashboard,
Miscellaneous, Tour } from './app-config.model';
import { OrganismPlaceholders, GenePlaceholders } from './placeholders.model';
import { OrganismPlaceholders, GenePlaceholders, RegionPlaceholders } from './placeholders.model';
import { Script, isScript } from './script.model';
import { GET, POST, Request, Server } from './server.model';

Expand Down
2 changes: 1 addition & 1 deletion src/app/gene/services/gene.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class GeneService extends HttpService {
}

//fill in templated geneLinksURL
geneToGeneLinksURL(urlTemplate: string, gene: string): string {
private geneToGeneLinksURL(urlTemplate: string, gene: string): string {
const placeholders = {};
placeholders[GenePlaceholders.Gene] = gene;
return placeholderReplace(urlTemplate, placeholders);
Expand Down
2 changes: 1 addition & 1 deletion src/app/gene/services/region.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class RegionService extends HttpService {
}

//fill in templated regionLinksURL
regionToRegionLinksURL(urlTemplate: string, chromosome: string, start: number, stop: number): string {
private regionToRegionLinksURL(urlTemplate: string, chromosome: string, start: number, stop: number): string {
const placeholders = {};
placeholders[RegionPlaceholders.Chromosome] = chromosome;
placeholders[RegionPlaceholders.Start] = start.toString();
Expand Down

0 comments on commit 5308e97

Please sign in to comment.