git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1551 spotlessApply
[jalview.git]
/
src
/
jalview
/
io
/
PContactPredictionFile.java
diff --git
a/src/jalview/io/PContactPredictionFile.java
b/src/jalview/io/PContactPredictionFile.java
index
3df9804
..
164d7cc
100644
(file)
--- a/
src/jalview/io/PContactPredictionFile.java
+++ b/
src/jalview/io/PContactPredictionFile.java
@@
-47,8
+47,8
@@
public class PContactPredictionFile extends AlignFile
{
protected static final String CONTACT_PREDICTION = "CONTACT_PREDICTION";
{
protected static final String CONTACT_PREDICTION = "CONTACT_PREDICTION";
- public PContactPredictionFile(String inFile, DataSourceType fileSourceType)
- throws IOException
+ public PContactPredictionFile(String inFile,
+ DataSourceType fileSourceType) throws IOException
{
super(inFile, fileSourceType);
{
super(inFile, fileSourceType);
@@
-109,19
+109,23
@@
public class PContactPredictionFile extends AlignFile
if (cm == null)
{
if (cm == null)
{
- cm = new ContactMatrix(true) {
+ cm = new ContactMatrix(true)
+ {
@Override
public String getType()
{
return CONTACT_PREDICTION;
}
@Override
public String getType()
{
return CONTACT_PREDICTION;
}
+
@Override
public int getHeight()
{
// TODO Auto-generated method stub
@Override
public int getHeight()
{
// TODO Auto-generated method stub
- // return maximum contact height
+ // return maximum contact height
return 0;
return 0;
- }@Override
+ }
+
+ @Override
public int getWidth()
{
// TODO Auto-generated method stub
public int getWidth()
{
// TODO Auto-generated method stub
@@
-140,15
+144,15
@@
public class PContactPredictionFile extends AlignFile
} catch (Exception x)
{
error = true;
} catch (Exception x)
{
error = true;
- errormessage = "Couldn't process line: "
- + x.getLocalizedMessage() + "\n" + line;
+ errormessage = "Couldn't process line: " + x.getLocalizedMessage()
+ + "\n" + line;
return;
}
cm.addContact(left, right, (float) strength);
}
}
// TODO COMPLETE
return;
}
cm.addContact(left, right, (float) strength);
}
}
// TODO COMPLETE
- throw(new Error("Not Implemented yet."));
+ throw (new Error("Not Implemented yet."));
}
@Override
}
@Override