git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1f93bad
)
JAl-1421 fix method reflection argument (properly this time)
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 8 Jun 2015 14:05:35 +0000
(15:05 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 8 Jun 2015 14:05:35 +0000
(15:05 +0100)
src/MCview/PDBfile.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBfile.java
b/src/MCview/PDBfile.java
index
d81e734
..
4039cdd
100755
(executable)
--- a/
src/MCview/PDBfile.java
+++ b/
src/MCview/PDBfile.java
@@
-379,11
+379,11
@@
public class PDBfile extends jalview.io.AlignFile
final Object[] args = new Object[]
{ new FileParse(getDataName(), type) };
Object jmf = constructor.newInstance(args);
final Object[] args = new Object[]
{ new FileParse(getDataName(), type) };
Object jmf = constructor.newInstance(args);
- Alignment al = new Alignment((SequenceI[]) cl.getMethod(
+ AlignmentI al = new Alignment((SequenceI[]) cl.getMethod(
"getSeqsAsArray", new Class[]
{}).invoke(jmf));
cl.getMethod("addAnnotations", new Class[]
"getSeqsAsArray", new Class[]
{}).invoke(jmf));
cl.getMethod("addAnnotations", new Class[]
- { AlignmentI.class }).invoke(jmf, al);
+ { Alignment.class }).invoke(jmf, al);
for (SequenceI sq : al.getSequences())
{
if (sq.getDatasetSequence() != null)
for (SequenceI sq : al.getSequences())
{
if (sq.getDatasetSequence() != null)