boolean first = true;
AlignFrame af;
- OPEN: for (String openFile : ArgParser.getValues(m, Arg.OPEN))
+ for (String openFile : ArgParser.getValues(m, Arg.OPEN))
{
if (openFile == null)
- continue OPEN;
+ continue;
+ argsWereParsed = true;
if (first)
{
first = false;
if (!(new File(openFile)).exists())
{
Console.warn("Can't find file '" + openFile + "'");
- continue OPEN;
}
}
}
AlignFrame af = afMap.get(id);
if (ArgParser.getArgValues(m, Arg.STRUCTURE) != null)
{
- STRUCTURE: for (String val : ArgParser.getValues(m, Arg.STRUCTURE))
+ for (String val : ArgParser.getValues(m, Arg.STRUCTURE))
{
SubVal subId = new SubVal(val);
SequenceI seq = getSpecifiedSequence(af, subId);
if (structureFile == null)
{
Console.warn("Not provided structure file with '" + val + "'");
- continue STRUCTURE;
+ continue;
}
if (!structureFile.exists())
{
Console.warn("Structure file '"
+ structureFile.getAbsoluteFile() + "' not found.");
- continue STRUCTURE;
+ continue;
}
Console.debug("Using structure file "