Skip to content

Commit 297f58a

Browse files
committed
Make classes serializable for Spark
1 parent d85e331 commit 297f58a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

biojava-core/src/main/java/org/biojava/nbio/core/alignment/matrices/SimpleSubstitutionMatrix.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
* @author Paolo Pavan
4242
* @param <C> each element of the matrix corresponds to a pair of {@link Compound}s of type C
4343
*/
44-
public class SimpleSubstitutionMatrix<C extends Compound> implements SubstitutionMatrix<C> {
45-
44+
public class SimpleSubstitutionMatrix<C extends Compound> implements SubstitutionMatrix<C>, Serializable {
45+
4646
private static final String comment = "#";
4747

4848
private CompoundSet<C> compoundSet;

0 commit comments

Comments
 (0)