X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2Fscoremodels%2FFeatureDistanceModel.java;h=bcc085558a4beb19f18b3fe68ec95de58ad83177;hb=85299bc2db43c8b108169661ebc1c4d9b2d3d2e5;hp=0aa77fa659ab596d604042ba9b5db26e74bd55e2;hpb=74393b51f368cb9f58589472d432a433d9c4386d;p=jalview.git diff --git a/src/jalview/analysis/scoremodels/FeatureDistanceModel.java b/src/jalview/analysis/scoremodels/FeatureDistanceModel.java index 0aa77fa..bcc0855 100644 --- a/src/jalview/analysis/scoremodels/FeatureDistanceModel.java +++ b/src/jalview/analysis/scoremodels/FeatureDistanceModel.java @@ -63,7 +63,7 @@ public class FeatureDistanceModel extends DistanceScoreModel return instance; } catch (InstantiationException | IllegalAccessException e) { - System.err.println("Error in " + getClass().getName() + jalview.bin.Console.errPrintln("Error in " + getClass().getName() + ".getInstance(): " + e.getMessage()); return null; } catch (ReflectiveOperationException roe) @@ -201,8 +201,8 @@ public class FeatureDistanceModel extends DistanceScoreModel * position is not a gap */ Set types = new HashSet<>(); - List sfs = fr.findFeaturesAtResidue( - seq.getRefSeq(), spos, spos); + List sfs = fr + .findFeaturesAtResidue(seq.getRefSeq(), spos, spos); for (SequenceFeature sf : sfs) { types.add(sf.getType());