package jalview.datamodel;
-import jalview.ws.params.InvalidArgumentException;
-
import java.util.ArrayList;
import java.util.List;
{
if (left < 0 || right < 0)
{
- throw new Error(new InvalidArgumentException(
+ throw new Error(new RuntimeException(
"Cannot have negative indices for contact left=" + left
+ " right=" + right + " strength=" + strength));
}
}
}
-
@Override
public ContactListI getContactList(final int column)
{
package jalview.datamodel;
-import jalview.gui.JvOptionPane;
-
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
+import jalview.gui.JvOptionPane;
+
public class ContactMatrixTest
{
@BeforeClass(alwaysRun = true)