From 367f7bfc129f8f5f041c9590d332303680cb209c Mon Sep 17 00:00:00 2001 From: Samuel Mondal <mondal0000@bz-rgab01-pdm02.bioz.unibas.ch> Date: Tue, 13 Dec 2022 16:03:03 +0100 Subject: [PATCH] minor changes to directory structure --- sequence_extractor/list_to_file.py | 17 ----------------- .../test_files/post_bedtools_test.fa | 0 .../test_files/test.bed | 0 3 files changed, 17 deletions(-) delete mode 100644 sequence_extractor/list_to_file.py rename {sequence_extractor => tests}/test_files/post_bedtools_test.fa (100%) rename {sequence_extractor => tests}/test_files/test.bed (100%) diff --git a/sequence_extractor/list_to_file.py b/sequence_extractor/list_to_file.py deleted file mode 100644 index 58530f8..0000000 --- a/sequence_extractor/list_to_file.py +++ /dev/null @@ -1,17 +0,0 @@ -def list_to_file( - to_write_to_file: list, - filename: str, -) -> None: - """Creates a file from a list that is input to the function. - - Args: - to_write_to_file: The list that you want to write to a file. - filename: The name you want the output fasta file to have (also include the extension of the file while calling the function). - - Returns: - Nothing, since it outputs a file directly to the working directory - """ - file = open(filename,'a') - for item in to_write_to_file: - file.write(item) - file.close() \ No newline at end of file diff --git a/sequence_extractor/test_files/post_bedtools_test.fa b/tests/test_files/post_bedtools_test.fa similarity index 100% rename from sequence_extractor/test_files/post_bedtools_test.fa rename to tests/test_files/post_bedtools_test.fa diff --git a/sequence_extractor/test_files/test.bed b/tests/test_files/test.bed similarity index 100% rename from sequence_extractor/test_files/test.bed rename to tests/test_files/test.bed -- GitLab