import jalview.analysis.TreeBuilder;
import jalview.analysis.TreeModel;
-import jalview.bin.Cache;
+import jalview.bin.Console;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.AlignmentView;
import jalview.datamodel.BinaryNode;
}
} catch (Exception e)
{
- Cache.warn("Problems parsing treefile '"
+ Console.warn("Problems parsing treefile '"
+ tree.getNewick(0).getContent() + "'", e);
}
}
@Override
public void conflict()
{
- Cache.info(
+ Console.info(
"Update (with conflict) from vamsas document to alignment associated tree not implemented yet.");
}
*/
private Provenance makeTreeProvenance(AlignmentI jal, TreePanel tp)
{
- Cache.debug("Making Tree provenance for " + tp.getTitle());
+ Console.debug("Making Tree provenance for " + tp.getTitle());
Provenance prov = new Provenance();
prov.addEntry(new Entry());
prov.getEntry(0).setAction("imported " + tp.getTitle());
vInput.addSeg(visSeg);
}
}
- Cache.debug("Finished Tree provenance for " + tp.getTitle());
+ Console.debug("Finished Tree provenance for " + tp.getTitle());
return prov;
}
}
if (alsq.size() < sequences.length)
{
- Cache.warn(
+ Console.warn(
"Not recovered all alignment sequences for given set of input sequence CIGARS");
}
return alsq;
if (tp.getTree() == null)
{
- Cache.warn(
+ Console.warn(
"Not updating SequenceTreeMap for " + tree.getVorbaId());
return;
}
{
if (tp.getEntry(pe).getInputCount() > 1)
{
- Cache.warn(
+ Console.warn(
"Ignoring additional input spec in provenance entry "
+ tp.getEntry(pe).toString());
}
// bidirection alignments yet.
if (to < se[1])
{
- Cache.warn("Ignoring invalid segment in InputData spec.");
+ Console.warn("Ignoring invalid segment in InputData spec.");
}
else
{
return new Object[] { new AlignmentView(view), jal };
}
}
- Cache.debug(
+ Console.debug(
"Returning null for input data recovery from provenance.");
return null;
}
return true;
} catch (Exception e)
{
- Cache.debug("Failed to parse newick tree string", e);
+ Console.debug("Failed to parse newick tree string", e);
}
return false;
}