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)