import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNotNull;
-import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.fail;
-import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Annotation;
-import jalview.datamodel.DBRefEntry;
-import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceFeature;
import jalview.datamodel.SequenceI;
import jalview.gui.JvOptionPane;
import java.io.File;
-import java.io.IOException;
import java.util.Arrays;
import java.util.BitSet;
import java.util.HashMap;
|| (seq_original[i].getSequenceFeatures() != null && seq_new[in]
.getSequenceFeatures() != null));
// compare sequence features
- if (seq_original[i].getSequenceFeatures() != null
+ if (!ignoreFeatures
+ && seq_original[i].getSequenceFeatures() != null
&& seq_new[in].getSequenceFeatures() != null)
{
- System.out.println("There are feature!!!");
+ System.out.println("Checking feature equivalence.");
sequenceFeatures_original = seq_original[i]
.getSequenceFeatures();
sequenceFeatures_new = seq_new[in].getSequenceFeatures();