import jalview.io.FileParse;
import jalview.io.StructureFile;
import jalview.schemes.ResidueProperties;
+import jalview.structure.StructureImportSettings;
import jalview.util.Format;
import jalview.util.MessageManager;
import jalview.ws.dbsources.EBIAlfaFold;
{
// BH 2018 File or String for filename
super(immediate, inFile, sourceType);
+
}
public JmolParser(Object inFile, DataSourceType sourceType)
throws IOException
{
- super(inFile, sourceType);
+ this(inFile, sourceType, null);
+ }
+
+ public JmolParser(Object inFile, DataSourceType sourceType,
+ StructureImportSettings.TFType tempfacType) throws IOException
+ {
+ super(inFile, sourceType, tempfacType);
}
public JmolParser(FileParse fp) throws IOException
{
AnnotationRowBuilder builder = null;
String tempFString = null;
- if (isAlphafoldModel())
+ if (isAlphafoldModel() || StructureImportSettings.TFType.PLDDT
+ .equals(getTemperatureFactorType()))
{
builder = new AlphaFoldAnnotationRowBuilder();
}
}
}
+ public void setAlphafoldModel(boolean afm)
+ {
+ alphaFoldModel = afm;
+ }
+
private boolean isAlphafoldModel()
{
return alphaFoldModel;