Reverting another change no longer needed.

This commit is contained in:
Russ Taylor
2026-04-20 11:32:31 -04:00
parent cd7d8f704e
commit bcb18a8faf

View File

@@ -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)}`);