Skip to content
Snippets Groups Projects
Commit e427a626 authored by Bienchen's avatar Bienchen
Browse files

Add comment for reading single files from URL for validation.

parent be971a66
No related branches found
No related tags found
No related merge requests found
......@@ -297,6 +297,9 @@ def _get_associated_files(model_cif_file, assoc_dir):
)
if row[idxs["file_format"]] != "cif":
continue
# this should be easy to make reading URLs, using
# _get_assoc_obj(row[idxs["file_url"]], assoc_dir) but for now
# I have not seen the use case (no web server at hand for testing)
data = _read_mmcif(os.path.join(assoc_dir, row[idxs["file_url"]]))
assoc_files.append((data, row[idxs["entry_id"]]))
# make sure entry_id is matching in associated file!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment