Skip to content
Snippets Groups Projects
Commit dac3a5cb authored by tjc's avatar tjc
Browse files

fix for updating fmax on polypeptide_domains

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@11971 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 2d2ea225
No related branches found
No related tags found
No related merge requests found
......@@ -3109,6 +3109,9 @@ public class DatabaseDocument extends Document
FeatureLoc onPolyPepLoc = (FeatureLoc)featureLocsBySrcFeatureId.get(i);
onPolyPepLoc.setFmin(onPolyPepLoc.getFmin() -
(newFeatureLoc.getFmin() - oldFeatureLoc.getFmin()));
onPolyPepLoc.setFmax(onPolyPepLoc.getFmax() -
(newFeatureLoc.getFmin() - oldFeatureLoc.getFmin()));
dao.merge(onPolyPepLoc);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment