Browse Source

Issue #1016: lowercase pdb id must be consistent with cache's add/get

cycle20 1 month ago
parent
commit
f269f96616
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/TmFv3DApp/UniTmpHelper.ts

+ 1 - 0
src/TmFv3DApp/UniTmpHelper.ts

@@ -25,6 +25,7 @@ export async function registerRegionDescriptorData(url: string, side1: "Inside"|
     }
     const pdbtmDescriptor: PDBTMDescriptor = await fetchDescriptor(url);
     pdbtmDescriptor.side1 = side1;
+    pdbtmDescriptor.pdb_id = pdbtmDescriptor.pdb_id.toLowerCase();
     TmDetDescriptorCache.add(pdbtmDescriptor);
     const membraneOrientation = createMembraneOrientation(pdbtmDescriptor);
     setMembraneOrientation(membraneOrientation);