Skip to content
Snippets Groups Projects
Commit 55dea181 authored by tcarver's avatar tcarver
Browse files

fix for handling partial genes

parent 7edab300
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,7 @@ public class PublicDBDocumentEntry extends SimpleDocumentEntry
try
{
if(key.getKeyString().equals(DatabaseDocument.EXONMODEL))
location = handlePartials(qualifiers, location);
for(int i=0; i<DATABASE_QUALIFIERS_TO_MAP.length; i++)
{
......@@ -766,7 +767,7 @@ public class PublicDBDocumentEntry extends SimpleDocumentEntry
{
try
{
location = new Location(location.toString().replaceFirst("(\\d)", "<$1"));
location = new Location(location.toStringShort().replaceFirst("(\\d)", "<$1"));
}
catch (LocationParseException e)
{
......@@ -777,7 +778,7 @@ public class PublicDBDocumentEntry extends SimpleDocumentEntry
{
try
{
location = new Location(location.toString().replaceAll("^(.*)(\\.)(.*)$","$1$2>$3"));
location = new Location(location.toStringShort().replaceAll("^(.*)(\\.)(.*)$","$1$2>$3"));
}
catch (LocationParseException e)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment