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 5623397 commit 0b1eba2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xchemalign/xchemalign/aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,8 @@ def main():
parser.add_argument("-d", "--version-dir", required=True, help="Path to version dir")
parser.add_argument("-m", "--metadata_file", default=Constants.METADATA_XTAL_FILENAME, help="Metadata YAML file")
parser.add_argument("-x", "--xtalforms", help="Crystal forms YAML file")
parser.add_argument("-a", "--assemblies", help="Crystal forms YAML file")

parser.add_argument("-l", "--log-file", help="File to write logs to")
parser.add_argument("--log-level", type=int, default=0, help="Logging level")
parser.add_argument("--validate", action="store_true", help="Only perform validation")
Expand All @@ -742,7 +744,7 @@ def main():

logger = utils.Logger(logfile=args.log_file, level=args.log_level)

a = Aligner(args.version_dir, args.metadata_file, args.xtalforms, logger=logger)
a = Aligner(args.version_dir, args.metadata_file, args.xtalforms, args.assemblies, logger=logger)
num_errors, num_warnings = a.validate()

if not args.validate:
Expand Down

0 comments on commit 0b1eba2

Please sign in to comment.