private boolean defaultBoolValue = false;
+ private Arg()
+ {
+ this(new String[0]);
+ }
+
+ private Arg(String... names)
+ {
+ int length = (names == null || names.length == 0
+ || (names.length == 1 && names[0] == null)) ? 1
+ : names.length + 1;
+ this.argNames = new String[length];
+ this.argNames[0] = this.getName();
+ if (length > 1)
+ System.arraycopy(names, 0, this.argNames, 1, names.length);
+ }
+
public String toLongString()
{
StringBuilder sb = new StringBuilder();
return sb.toString();
}
- private Arg()
- {
- this(new String[0]);
- }
-
- private Arg(String... names)
- {
- int length = (names == null || names.length == 0
- || (names.length == 1 && names[0] == null)) ? 1
- : names.length + 1;
- this.argNames = new String[length];
- this.argNames[0] = this.getName();
- if (length > 1)
- System.arraycopy(names, 0, this.argNames, 1, names.length);
- }
-
public String[] getNames()
{
return argNames;
}
for (AlignFrame af : frames)
{
- System.out.println("###### frames=" + frames);
- System.out.println("###### af=" + af);
- System.out.println("###### af.alignPanels=" + af.alignPanels);
for (AlignmentPanel ap : af.alignPanels)
{
if (alignmentId == null
@Override
public void run()
{
- System.out.println("######## Starting FileLoader.run()");
- System.out.println("######## loading file " + file);
String title = protocol == DataSourceType.PASTE
? "Copied From Clipboard"
: file;
@AfterClass(alwaysRun = true)
public static void resetProps()
{
- // Cache.applicationProperties.clear();
Cache.loadProperties("test/jalview/testProps.jvprops");
}
@AfterClass(alwaysRun = true)
public static void resetProps()
{
- // Cache.applicationProperties.clear();
Cache.loadProperties("test/jalview/testProps.jvprops");
}
+ "' was not found in opened alignment files: "
+ cmdLine);
}
-
- System.out.println("##### GOT TO END");
}
public static boolean lookForSequenceName(String sequenceName)
Desktop.instance.closeAll_actionPerformed(null);
// reset debug delay
Jalview2XML.setDebugDelaySave(20);
+ // load normal testprops
+ Cache.loadProperties("test/jalview/testProps.jvprops");
}
@BeforeMethod(alwaysRun = true)
{
int origCount = Desktop.getAlignFrames() == null ? 0
: Desktop.getAlignFrames().length;
- System.out
- .println("###### Calling FileLoader().LoadFileWaitTillLoaded");
AlignFrame af = new FileLoader().LoadFileWaitTillLoaded(
"examples/exampleFile_2_7.jar", DataSourceType.FILE);
assertNotNull(af, "Didn't read in the example file correctly.");