mirror of
https://github.com/molstar/molstar.git
synced 2026-06-04 13:30:24 +08:00
Reverting another change no longer needed.
This commit is contained in:
@@ -49,8 +49,7 @@ async function predictMembraneOrientation(req: express.Request, res: express.Res
|
||||
try {
|
||||
const ctx = { runtime: SyncRuntimeContext, assetManager };
|
||||
|
||||
// Make sure this is a string, taking the first element if it's an array (which can happen if the query parameter is repeated)
|
||||
const entryId = Array.isArray(req.params.id) ? req.params.id[0] : req.params.id;
|
||||
const entryId = req.params.id;
|
||||
const assemblyId = req.query.assemblyId as string ?? '1';
|
||||
const p = parseParams(req);
|
||||
ConsoleLogger.log('predictMembraneOrientation', `${entryId}-${assemblyId} with params: ${JSON.stringify(p)}`);
|
||||
|
||||
Reference in New Issue
Block a user