|
@@ -207,10 +207,7 @@ async function resolveJobEntry(entry: JobEntry, structure: StructureWrapper, enc
|
|
|
encoder.writeCategory(_model_server_result, entry);
|
|
|
encoder.writeCategory(_model_server_params, entry);
|
|
|
|
|
|
- if (encoder instanceof SdfEncoder) {
|
|
|
- encoder.setComponentBondData(ComponentBond.Provider.get(structure.models[0])!);
|
|
|
- }
|
|
|
-
|
|
|
+ if (encoder instanceof SdfEncoder) encoder.setComponentBondData(ComponentBond.Provider.get(structure.models[0])!);
|
|
|
if (!entry.copyAllCategories && entry.queryDefinition.filter) encoder.setFilter(entry.queryDefinition.filter);
|
|
|
if (result.length > 0) encode_mmCIF_categories(encoder, result, { copyAllCategories: entry.copyAllCategories });
|
|
|
if (!entry.copyAllCategories && entry.queryDefinition.filter) encoder.setFilter();
|