Skip to content

Commit

Permalink
New crystalform and assemblies documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorFWild committed Oct 23, 2023
1 parent 6da5099 commit 5623397
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xchemalign/xchemalign/aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def __init__(self, version_dir, metadata, xtalforms, assemblies, logger=None):
self.xtalforms_file = Path(xtalforms)
else:
self.xtalforms_file = self.base_dir / Constants.XTALFORMS_FILENAME # e.g. path/to/xtalforms.yaml
if assemblies:
self.assemblies_file = Path(assemblies)
else:
self.assemblies_file = self.base_dir / Constants.ASSEMBLIES_FILENAME
if logger:
self.logger = logger
else:
Expand Down

0 comments on commit 5623397

Please sign in to comment.