From 7e29e0ddf170e3ceccf3a2eabce74834e938f86a Mon Sep 17 00:00:00 2001
From: Samuel Mondal <samuel.mondal@unibas.ch>
Date: Mon, 14 Nov 2022 23:51:20 +0100
Subject: [PATCH] indentation change

---
 sequence_extractor/exon_concatenation.py | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/sequence_extractor/exon_concatenation.py b/sequence_extractor/exon_concatenation.py
index 4a2f960..c5348ac 100644
--- a/sequence_extractor/exon_concatenation.py
+++ b/sequence_extractor/exon_concatenation.py
@@ -2,14 +2,12 @@ def exon_concatenation:
 	fa = open("fasta.fa",'r')
 	lines = fa.readlines()
 	for x in range(int(len(lines)/2)):
-    		if x == 0:
-        		annotation = lines[0]
-        		read = lines[1]
-    		if x >= 1:
-        		if lines[2*x] == lines[2*(x-1)]:
-            			read+= lines[(2*x)+1]
-        		else:
-				return annotation
-				return read
-            			annotation = lines[2*x]
-            			read = lines[(2*x)+1]
+		if x == 0:
+			annotation = lines[0]
+			read = lines[1]
+		if x >= 1:
+			if lines[2*x] == lines[2*(x-1)]:
+				read+= lines[(2*x)+1]
+			else:
+				annotation = lines[2*x]
+				read = lines[(2*x)+1]
-- 
GitLab