|
@@ -26,7 +26,7 @@ import {
|
|
|
import {ViewerProps} from "@rcsb/rcsb-molstar/build/src/viewer";
|
|
|
import { updateSiteColors } from "./UniTmpColor";
|
|
|
import { fetchHtpDescriptor, fetchPdbtmJsvLibDescriptor, htpDescriptorToTrackData, jsvLibDescriptorToTrackData } from "./UniTmpHelper";
|
|
|
-import { TmDetRcsbPreset } from "./preset";
|
|
|
+import { TmDetRcsbPreset } from "./preset2";
|
|
|
|
|
|
export async function createFeatureViewerConfing(params: { pdbEntry: string, pdbtmEntry: string, htpEntry: string, labelAsymId: string, side1: string }) {
|
|
|
const modelId = `${params.pdbEntry}_model`;
|
|
@@ -130,6 +130,7 @@ export async function createFeatureViewerConfing(params: { pdbEntry: string, pdb
|
|
|
loadParams: {
|
|
|
//url: `https://pdbtm.unitmp.org/api/v1/entry/${params.pdbEntry}.trpdb`,
|
|
|
url: `https://www.ebi.ac.uk/pdbe/entry-files/download/${params.pdbEntry}_updated.cif`,
|
|
|
+ //url: `/${params.pdbEntry}.cif`,
|
|
|
format: 'mmcif',
|
|
|
isBinary: false,
|
|
|
id: `${params.pdbEntry}_model`,
|
|
@@ -139,7 +140,7 @@ export async function createFeatureViewerConfing(params: { pdbEntry: string, pdb
|
|
|
structureViewerConfig: {
|
|
|
viewerProps:{
|
|
|
showImportControls: true,
|
|
|
- showSessionControls: false,
|
|
|
+ showSessionControls: false
|
|
|
}
|
|
|
}
|
|
|
};
|