コード例 #1
0
ファイル: mapper.py プロジェクト: abims-sbr/WinstonCleaner
    def __init__(self, dataset):
        self.dataset = dataset

        folder_path = PathResolver.output_path_for(self.MAPPINGS_FOLDER)
        PathResolver.assure_path_exists(folder_path)

        db_path = PathResolver.output_path_for(self.MAPPINGS_FOLDER,
                                               self.DB_FOLDER)
        PathResolver.assure_path_exists(db_path)
コード例 #2
0
ファイル: blaster.py プロジェクト: kolecko007/WinstonCleaner
    def perform(self):
        PathResolver.assure_path_exists(self._db_folder_path())

        all_vs_all_path = PathResolver.output_path_for(
            PathResolver.ALL_VS_ALL_FOLDER)
        PathResolver.assure_path_exists(all_vs_all_path)

        one_vs_all_path = PathResolver.output_path_for(
            PathResolver.ONE_VS_ALL_FOLDER)
        PathResolver.assure_path_exists(one_vs_all_path)

        self._make_databases()
        self._perform_blasts()
        self._make_one_vs_all_files()