Skip to content

Commit

Permalink
supersedes -> superseded
Browse files Browse the repository at this point in the history
  • Loading branch information
tdudgeon committed Apr 2, 2024
1 parent ec3d6d2 commit 2cfb267
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/xchemalign/aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def get_datasets_from_crystals(
datasets[dtag] = dataset
if crystal[Constants.META_STATUS] == Constants.META_STATUS_NEW:
new_datasets[dtag] = dataset
if crystal[Constants.META_STATUS] == Constants.META_STATUS_SUPERSEDES:
if crystal[Constants.META_STATUS] == Constants.META_STATUS_SUPERSEDED:
new_datasets[dtag] = dataset
if dtag not in fs_model.alignments:
new_datasets[dtag] = dataset
Expand Down
2 changes: 1 addition & 1 deletion src/xchemalign/collator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def _get_xtal_status(self, xtal_name, old_data, new_data):
if old_sha256 == new_sha256:
return Constants.META_STATUS_UNCHANGED
else:
return Constants.META_STATUS_SUPERSEDES
return Constants.META_STATUS_SUPERSEDED

def _write_metadata(self, meta, suffix=""):
f = self.output_path / self.version_dir / Constants.METADATA_XTAL_FILENAME.format(suffix)
Expand Down
2 changes: 1 addition & 1 deletion src/xchemalign/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Constants:
META_LAST_UPDATED = "last_updated"
META_REFINEMENT_OUTCOME = "refinement_outcome"
META_STATUS = "status"
META_STATUS_SUPERSEDES = "supersedes"
META_STATUS_SUPERSEDED = "superseded"
META_STATUS_UNCHANGED = "unchanged"
META_STATUS_NEW = "new"
META_STATUS_DEPRECATED = "deprecated"
Expand Down

0 comments on commit 2cfb267

Please sign in to comment.