File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
biojava-structure/src/main/java/org/biojava/nbio/structure/chem Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ public class DownloadChemCompProvider implements ChemCompProvider {
5050 public static final String DEFAULT_SERVER_URL = "https://files.rcsb.org/ligands/download/" ;
5151 public static final String DEFAULT_CHEMCOMP_PATHURL_TEMPLATE = "{ccd_id}.cif" ;
5252
53+ /**
54+ * The base URL to which the full path specified via {@link #setChemCompPathUrlTemplate(String)} is appended.
55+ * It is assumed that it has a trailing slash.
56+ */
5357 public static String serverBaseUrl = DEFAULT_SERVER_URL ;
5458
5559 private static File path ;
@@ -92,7 +96,8 @@ public DownloadChemCompProvider(String cacheFilePath) {
9296
9397 /**
9498 * Set the base URL for the location of all chemical component CIF files, to which the chemCompPathUrlTemplate
95- * is appended, settable in {@link #setChemCompPathUrlTemplate(String)}.
99+ * is appended, settable in {@link #setChemCompPathUrlTemplate(String)}. A trailing slash is appended
100+ * if not present.
96101 */
97102 public static void setServerBaseUrl (String serverBaseUrl ) {
98103 if (!serverBaseUrl .endsWith ("/" )) {
You can’t perform that action at this time.
0 commit comments