Skip to content

Commit

Permalink
hard code avm configuration for public portal (#4966)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisman authored Aug 16, 2024
1 parent 9937567 commit aab9c4c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/appBootstrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,25 @@ let render = (key?: number) => {
browserWindow.isMSKCIS = true;
}

// @ts-ignore
if (stores.appStore.serverConfig.app_name === 'public-portal') {
stores.appStore.serverConfig.download_custom_buttons_json = `[
{
"id": "avm",
"name": "AVM for cBioPortal",
"tooltip": "Launch AVM for cBioPortal with data (copied to clipboard)",
"image_src": "https://aquminmedical.com/images/content/AquminLogoSimple.png",
"required_user_agent": "Win",
"required_installed_font_family": "AVMInstalled",
"url_format": "avm://?importclipboard&-AutoMode=true&-ProjectNameHint={studyName}&-ImportDataLength={dataLength}",
"visualize_title": "AVM for cBioPortal (Windows)",
"visualize_href": "https://bit.ly/avm-cbioportal",
"visualize_description": "Windows software that loads data into 3D Landscapes for interactive visualization and pathway analysis. Download table data directly from cBioPortal.",
"visualize_image_src": "https://github.com/user-attachments/assets/5c17f5ed-0357-4ffa-a6e1-5a9d435dd3c5"
}
]`;
}

if (stores.appStore.serverConfig.app_name === 'mskcc-portal') {
datadogLogs.init({
clientToken: 'pub9a94ebb002f105ff44d8e427b6549775',
Expand Down

0 comments on commit aab9c4c

Please sign in to comment.