Skip to content

Conversation

@skfegan
Copy link
Member

@skfegan skfegan commented Nov 19, 2025

Summary

This pull request is to fix the averaging over groups of molecules for the conformational entropy.

Changes

  • Instead of calculating the histograms for each molecule. The histogram is generated once for each group with data from all the molecules in the group.
  • The functions for building the conformational states arrays are separated from levels.py into dihedral_tools.py
  • The functions for building new universes (new_U_select_atoms, new_U_select_frames, merge_forces) are separated from run.py into mda_universe_operations.py

Impact

  • The identification of peaks for dihedral conformations is properly averaged over molecules in the same group
  • Improved separation of concerns to make the code easier to change / maintain in the future

@skfegan skfegan requested a review from harryswift01 November 19, 2025 16:41
@harryswift01 harryswift01 changed the title 161 averaging multimer Update Averaging over Groups of Molecules for Conformational Entropy Nov 21, 2025
Copy link
Contributor

@harryswift01 harryswift01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making all these updates @skfegan they look great! I’ve left a couple of minor comments just for clarity on my side, but nothing blocking. Once those are addressed, I’m happy to approve.

@harryswift01 harryswift01 self-requested a review November 27, 2025 11:41
Copy link
Contributor

@harryswift01 harryswift01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great now @skfegan, I'm happy to approve and merge this into main

@skfegan skfegan linked an issue Nov 27, 2025 that may be closed by this pull request
@skfegan skfegan merged commit e6b55e8 into main Nov 27, 2025
15 checks passed
@skfegan skfegan deleted the 161-averaging-multimer branch November 27, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with averaging for protein multimer

3 participants