this.source = source;\r
this.dbname = dbname;\r
this.dbrefname = dbrefname;\r
- this.coordsys = coordsys;\r
+ if (coordsys!=null ) {\r
+ this.coordsys = coordsys;\r
+ }\r
this.connprops=connprops;\r
}\r
\r
\r
public String getDbVersion()\r
{\r
- return coordsys.getVersion();\r
+ return coordsys!=null ? coordsys.getVersion() : "";\r
}\r
\r
public AlignmentI getSequenceRecords(String queries) throws Exception\r
\r
public String getTestQuery()\r
{\r
- return coordsys.getTestRange();\r
+ return coordsys==null ? "" : coordsys.getTestRange();\r
}\r
\r
public boolean isValidReference(String accession)\r