Skip to content

Commit

Permalink
New data for testing ref alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorFWild committed Jul 11, 2024
1 parent ec9aa4f commit b315ae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xchemalign/aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,12 +652,17 @@ def _perform_alignments(self, meta):
# Constants.META_AIGNED_EVENT_MAP: aligned_event_map_path,
Constants.META_AIGNED_X_MAP: aligned_xmap_path,
Constants.META_AIGNED_DIFF_MAP: aligned_diff_map_path,
Constants.META_AIGNED_CRYSTALLOGRAPHIC_X_MAP: aligned_xmap_path,
Constants.META_AIGNED_CRYSTALLOGRAPHIC_DIFF_MAP: aligned_diff_map_path,
}
# if the event map is present then include it in the output
if event_map_present:
aligned_version_output[site_id][
Constants.META_AIGNED_EVENT_MAP
] = aligned_event_map_path
aligned_version_output[site_id][
Constants.META_AIGNED_CRYSTALLOGRAPHIC_EVENT_MAP
] = aligned_event_map_path
i += 1

## Add the reference alignments
Expand Down
3 changes: 3 additions & 0 deletions src/xchemalign/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ class Constants:
META_AIGNED_EVENT_MAP = "event_map"
META_AIGNED_X_MAP = "sigmaa_map"
META_AIGNED_DIFF_MAP = "diff_map"
META_AIGNED_CRYSTALLOGRAPHIC_EVENT_MAP = "event_map_crystallographic"
META_AIGNED_CRYSTALLOGRAPHIC_X_MAP = "sigmaa_map_crystallographic"
META_AIGNED_CRYSTALLOGRAPHIC_DIFF_MAP = "diff_map_crystallographic"
META_CONFORMER_SITES = "conformer_sites"
META_CONFORMER_SITE_NAME = "name"
META_CONFORMER_SITE_REFERENCE_LIG = "lig_ref"
Expand Down

0 comments on commit b315ae8

Please sign in to comment.