File: f267efdf3bc29291eddd380bba127b8ed56f2dc2.patch

package info (click to toggle)
jaligner 1.0%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 996 kB
  • sloc: java: 4,080; xml: 51; sh: 29; makefile: 14
file content (19 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From f267efdf3bc29291eddd380bba127b8ed56f2dc2 Mon Sep 17 00:00:00 2001
From: Tobias Bertelsen <tobias.bertelsen@gmail.com>
Date: Wed, 25 Feb 2015 16:04:08 +0100
Subject: [PATCH] Fixing traceback of global alignments
  See Pull request: https://github.com/ahmedmoustafa/JAligner/pull/1
Origin: https://github.com/ahmedmoustafa/JAligner/commit/f267efdf3bc29291eddd380bba127b8ed56f2dc2.patch


--- a/src/jaligner/NeedlemanWunschGotoh.java
+++ b/src/jaligner/NeedlemanWunschGotoh.java
@@ -220,7 +220,7 @@ public final class NeedlemanWunschGotoh
 		} // loop rows
 
 		Cell cell = new Cell();
-		cell.set(maxi, maxj, v[n - 1]);
+		cell.set(m-1, n-1, v[n - 1]);
 
 		logger.info("Finished.");