From a1a9141942a2fcc877c6367d99ae121cf4b3c059 Mon Sep 17 00:00:00 2001 From: jfi22496 Date: Tue, 15 Aug 2023 17:30:25 +0100 Subject: [PATCH] Fixing aligner --- xchemalign/aligner.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xchemalign/aligner.py b/xchemalign/aligner.py index 256e3bc..37fe0cd 100644 --- a/xchemalign/aligner.py +++ b/xchemalign/aligner.py @@ -258,6 +258,10 @@ def _perform_alignments(self, meta): # output_path = Path(meta[Constants.CONFIG_OUTPUT_DIR]) output_path = self.version_dir + aligned_files_dir = output_path / lna_constants.ALIGNED_FILES_DIR + if not aligned_files_dir.exists(): + os.mkdir(aligned_files_dir) + # Load the previous output dir if there is one if previous_output_path: source_fs_model = dt.FSModel.from_dir(previous_output_path)