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-2388 Comment typo
[jalview.git]
/
src
/
jalview
/
analysis
/
CrossRef.java
diff --git
a/src/jalview/analysis/CrossRef.java
b/src/jalview/analysis/CrossRef.java
index
cd71bbd
..
4ba7e41
100644
(file)
--- a/
src/jalview/analysis/CrossRef.java
+++ b/
src/jalview/analysis/CrossRef.java
@@
-220,8
+220,7
@@
public class CrossRef
rseqs = new ArrayList<SequenceI>();
AlignedCodonFrame cf = new AlignedCodonFrame();
rseqs = new ArrayList<SequenceI>();
AlignedCodonFrame cf = new AlignedCodonFrame();
- matcher = new SequenceIdMatcher(
- dataset.getSequences());
+ matcher = new SequenceIdMatcher(dataset.getSequences());
for (SequenceI seq : fromSeqs)
{
for (SequenceI seq : fromSeqs)
{
@@
-630,8
+629,7
@@
public class CrossRef
* attribute in equality test; this avoids creating many
* otherwise duplicate exon features on genomic sequence
*/
* attribute in equality test; this avoids creating many
* otherwise duplicate exon features on genomic sequence
*/
- SequenceFeature newFeature = new SequenceFeature(
- feat)
+ SequenceFeature newFeature = new SequenceFeature(feat)
{
@Override
public boolean equals(Object o)
{
@Override
public boolean equals(Object o)
@@
-667,6
+665,7
@@
public class CrossRef
}
return imported;
}
}
return imported;
}
+
/**
* Sets the inverse sequence mapping in the corresponding dbref of the mapped
* to sequence (if any). This is used after fetching a cross-referenced
/**
* Sets the inverse sequence mapping in the corresponding dbref of the mapped
* to sequence (if any). This is used after fetching a cross-referenced
@@
-866,8
+865,8
@@
public class CrossRef
MapList mapping = null;
SequenceI dsmapFrom = mapFrom.getDatasetSequence() == null ? mapFrom
: mapFrom.getDatasetSequence();
MapList mapping = null;
SequenceI dsmapFrom = mapFrom.getDatasetSequence() == null ? mapFrom
: mapFrom.getDatasetSequence();
- SequenceI dsmapTo = mapTo.getDatasetSequence() == null ? mapTo
- : mapTo.getDatasetSequence();
+ SequenceI dsmapTo = mapTo.getDatasetSequence() == null ? mapTo : mapTo
+ .getDatasetSequence();
/*
* look for a reverse mapping, if found make its inverse.
* Note - we do this on dataset sequences only.
/*
* look for a reverse mapping, if found make its inverse.
* Note - we do this on dataset sequences only.