From 8512a6923f44a4ad3fdb3c60c8a90c831ff0ecd1 Mon Sep 17 00:00:00 2001
From: Samuel Mondal <mondal0000@bz-rgab01-pdm02.bioz.unibas.ch>
Date: Mon, 28 Nov 2022 15:43:55 +0100
Subject: [PATCH] renaming to conform to PEP

---
 sequence_extractor/cli.py | 2 +-
 tests/test_polyA.py       | 3 ---
 tests/test_poly_a.py      | 3 +++
 3 files changed, 4 insertions(+), 4 deletions(-)
 delete mode 100644 tests/test_polyA.py
 create mode 100644 tests/test_poly_a.py

diff --git a/sequence_extractor/cli.py b/sequence_extractor/cli.py
index c0e2e62..55c0393 100644
--- a/sequence_extractor/cli.py
+++ b/sequence_extractor/cli.py
@@ -21,7 +21,7 @@ def main():
     LOG.info("sequence_extractor begins")
     exon_extraction_from_gtf()
     fasta_list = exon_concatenation(args.)
-    final_list = polyA_addition_to_fasta_list(fasta_list)
+    final_list = poly_a_addition_to_fasta_list(fasta_list)
     list_to_file(final_list,args.output_file_name)
     LOG.info("sequence_extractor ends")
 
diff --git a/tests/test_polyA.py b/tests/test_polyA.py
deleted file mode 100644
index ead1507..0000000
--- a/tests/test_polyA.py
+++ /dev/null
@@ -1,3 +0,0 @@
-import pytest
-
-from polyA import poly
diff --git a/tests/test_poly_a.py b/tests/test_poly_a.py
new file mode 100644
index 0000000..dc89197
--- /dev/null
+++ b/tests/test_poly_a.py
@@ -0,0 +1,3 @@
+import pytest
+
+from poly_a import poly_a_generator, poly_a_addition_to_fasta_list
-- 
GitLab