import java.util.Vector;
import jalview.datamodel.AlignmentAnnotation;
+import jalview.datamodel.AlignmentAnnotation.TFType;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceGroup;
private boolean dataClosed = false;
+ private AlignmentAnnotation.TFType temperatureFactorType = null;
+
+ public AlignmentAnnotation.TFType getTemperatureFactorType()
+ {
+ return this.temperatureFactorType;
+ }
+
/**
* @return if doParse() was called at construction time
*/
public AlignFile(Object dataObject, DataSourceType sourceType)
throws IOException
{
- this(true, dataObject, sourceType);
+ this(dataObject, sourceType, null);
+ }
+
+ public AlignFile(Object dataObject, DataSourceType sourceType,
+ AlignmentAnnotation.TFType tempfacType) throws IOException
+ {
+ this(true, dataObject, sourceType, tempfacType);
}
/**
public AlignFile(boolean parseImmediately, Object dataObject,
DataSourceType sourceType) throws IOException
{
+ this(parseImmediately, dataObject, sourceType, null);
+ }
+
+ public AlignFile(boolean parseImmediately, Object dataObject,
+ DataSourceType sourceType, AlignmentAnnotation.TFType tempfacType) throws IOException
+ {
// BH allows File or String
super(dataObject, sourceType);
initData();
+ this.temperatureFactorType = tempfacType;
if (parseImmediately)
{
doParse();