Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public Structure loadStructure(AtomCache cache) throws StructureException, IOExc

switch(format) {
case CIF: case BCIF:
return CifStructureConverter.fromURL(url);
return CifStructureConverter.fromURL(url, cache.getFileParsingParams());
case MMTF:
return MmtfActions.readFromInputStream(url.openStream());
default: case PDB:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static Structure fromURL(URL url) throws IOException {
* @return the target
* @throws IOException thrown when reading fails
*/
private static Structure fromURL(URL url, FileParsingParameters parameters) throws IOException {
public static Structure fromURL(URL url, FileParsingParameters parameters) throws IOException {
return fromInputStream(url.openStream(), parameters);
}

Expand Down