@@ -869,6 +869,7 @@ def _copy_files(self, meta):
869
869
data_to_add [Constants .META_XTAL_PDB ] = {
870
870
Constants .META_FILE : str (fdata [1 ]),
871
871
Constants .META_SHA256 : fdata [2 ],
872
+ Constants .META_SOURCE_FILE : str (fdata [0 ]),
872
873
}
873
874
# copy MTZ file
874
875
fdata = files_to_copy .get (Constants .META_XTAL_MTZ )
@@ -882,6 +883,7 @@ def _copy_files(self, meta):
882
883
data_to_add [Constants .META_XTAL_MTZ ] = {
883
884
Constants .META_FILE : str (fdata [1 ]),
884
885
Constants .META_SHA256 : fdata [2 ],
886
+ Constants .META_SOURCE_FILE : str (fdata [0 ]),
885
887
}
886
888
fdata = files_to_copy .get (Constants .META_XTAL_CIF )
887
889
@@ -896,6 +898,7 @@ def _copy_files(self, meta):
896
898
data_to_add [Constants .META_XTAL_CIF ] = {
897
899
Constants .META_FILE : str (fdata [1 ]),
898
900
Constants .META_SHA256 : fdata [2 ],
901
+ Constants .META_SOURCE_FILE : str (fdata [0 ]),
899
902
}
900
903
try :
901
904
mol = utils .gen_mol_from_cif (str (self .output_path / fdata [1 ]))
@@ -938,6 +941,7 @@ def _copy_files(self, meta):
938
941
data = {
939
942
Constants .META_FILE : str (attested_ligand_event_data [1 ]),
940
943
Constants .META_SHA256 : attested_ligand_event_data [2 ],
944
+ Constants .META_SOURCE_FILE : str (attested_ligand_event_data [0 ]),
941
945
Constants .META_PROT_MODEL : ligand_key [0 ],
942
946
Constants .META_PROT_CHAIN : ligand_key [1 ],
943
947
Constants .META_PROT_RES : ligand_key [2 ],
0 commit comments