From 6cd7e0e519a83fe055b676242981bfabb3f6859e Mon Sep 17 00:00:00 2001 From: basti Date: Sun, 6 Jan 2019 16:44:57 +0100 Subject: [PATCH] Changed comments for pullrequest --- .../Modules/Ensembl/FTPHandling/VersionChecker.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/3.1_create_gtf/Modules/Ensembl/FTPHandling/VersionChecker.py b/bin/3.1_create_gtf/Modules/Ensembl/FTPHandling/VersionChecker.py index 2db86e3..69edef5 100644 --- a/bin/3.1_create_gtf/Modules/Ensembl/FTPHandling/VersionChecker.py +++ b/bin/3.1_create_gtf/Modules/Ensembl/FTPHandling/VersionChecker.py @@ -129,16 +129,16 @@ def download_currentversion_version(self, version, organism, wd, data_dir): # Download Regulation Activity - activityfolder_local = os.path.join(targetfolder, "activity") # local Folder for Activity Data - activityfolder_remote = folder_url+"RegulatoryFeatureActivity/" # remote (ftp) folder for activity data + activityfolder_local = os.path.join(targetfolder, "activity") # local Folder for Activity Data + activityfolder_remote = folder_url+"RegulatoryFeatureActivity/" # remote (ftp) folder for activity data os.mkdir(activityfolder_local) # Create New Folder + # Get List for all entries in activity Folder + celltypes_list = self.site_ftp.get_all_entries_from_dir(activityfolder_remote) - celltypes_list = self.site_ftp.get_all_entries_from_dir(activityfolder_remote) # Get List for all entries in activity Folder - - # Iterate over Celltype List and Download in corresponding subfolder + # Iterate over celltype List and Download in corresponding subfolder for celltype in celltypes_list: - link_local = os.pathchainfil.join(activityfolder_local, celltype) + link_local = os.path.join(activityfolder_local, celltype) link_origin = activityfolder_remote+"/"+celltype os.mkdir(link_local) self.site_ftp.save_entries_to_file(link_origin, link_local)