Skip to content

Commit

Permalink
Remove deprecated HTSGetBrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
OrdiNeu committed Nov 13, 2024
1 parent 85a1798 commit 46f1c6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 165 deletions.
23 changes: 0 additions & 23 deletions src/store/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,6 @@ export function fetchOrRelogin(...args) {
});
}

// API Calls
/*
Fetch katsu calls
*/
export function fetchKatsu(URL) {
// This code is no longer used, however we have decided to archive the HTSGetBrowser class
// which depends on this. Therefore, this is kept for posterity
/*
return fetch(`${katsu}/moh/v1/discovery/overview/${URL}`)
.then((response) => {
if (response.ok) {
return response.json();
}
console.log(`Katsu: ${response}`);
throw new Error(`Katsu: ${response}`);
})
.catch((error) => {
console.log(`Error: ${error}`);
return 'error';
});
*/
}

export function fetchFederationStat(endpoint) {
return fetchOrRelogin(`${federation}/fanout`, {
method: 'post',
Expand Down
142 changes: 0 additions & 142 deletions src/views/genomicsData/HtsgetBrowser.js

This file was deleted.

0 comments on commit 46f1c6f

Please sign in to comment.