@Override
public ScoreModelI getInstance(AlignmentViewPanel view)
{
- FeatureDistanceModel instance;
+ FeatureDistanceModel model;
try
{
- instance = this.getClass().newInstance();
- instance.configureFromAlignmentView(view);
- return instance;
+ model = this.getClass().newInstance();
+ model.configureFromAlignmentView(view);
+ return model;
} catch (InstantiationException | IllegalAccessException e)
{
System.err.println("Error in " + getClass().getName()
/*
* first record feature types in this column for each sequence
*/
- Map<SeqCigar, Set<String>> sfap = findFeatureTypesAtColumn(
- seqs, cpos);
+ Map<SeqCigar, Set<String>> sfap = findFeatureTypesAtColumn(seqs,
+ cpos);
/*
* count feature types on either i'th or j'th sequence but not both