Skip to content

Commit 4d96ff4

Browse files
- implemented changes requested in #1326
1 parent 03158be commit 4d96ff4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

js/components/snapshot/modals/downloadStructuresDialog.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const MAP_FILES = [
105105
];
106106

107107
const CRYSTALLOGRAPHIC_FILES = [
108-
{ flag: 'NAN', text: 'Coordinate files (not re-aligned) (.pdb)', defaultValue: false },
108+
{ flag: 'pdb_info', text: 'Coordinate files (not re-aligned) (.pdb)', defaultValue: false },
109109
{ flag: 'mtz_info', text: 'Reflections and map coefficients (.mtz)', defaultValue: false },
110110
{ flag: 'cif_info', text: 'Ligand definitions and geometry restrains (.cif)', defaultValue: false },
111111
{ flag: 'map_info', text: 'Real-space map files (VERY BIG!!) (.map)', defaultValue: false, disabled: true }
@@ -117,8 +117,8 @@ const PERMALINK_OPTIONS = [
117117
];
118118

119119
const OTHERS = [
120-
{ flag: 'single_sdf_file', text: 'Single SDF of all ligands', defaultValue: true },
121-
{ flag: 'sdf_info', text: 'Separate SDFs in subdirectory', defaultValue: false }
120+
{ flag: 'single_sdf_file', text: 'Single SDF of all ligands', defaultValue: true }
121+
// { flag: 'sdf_info', text: 'Separate SDFs in subdirectory', defaultValue: false }
122122
];
123123

124124
// Creates an object with flag as keys with boolean values
@@ -238,10 +238,8 @@ export const DownloadStructureDialog = memo(({}) => {
238238
...mapFiles,
239239
...crystallographicFiles,
240240
...other,
241-
apo_file: pdb,
242-
bound_file: bound,
241+
all_aligned_structures: true,
243242
metadata_info: metadata,
244-
smiles_info: smiles,
245243
static_link: isStaticDownload(),
246244
file_url: ''
247245
};

0 commit comments

Comments
 (0)