Cleaning code - #9
Merged
Merged
Conversation
… logs. The import of psutil was removed, because the memory profiling isn't necessary is made externally. The lib folder was shown to be unecessary.
…d functions from graph.py
…n program and changing graph_path.stem -> output_path.stem
elementare
force-pushed
the
cleaning_code
branch
from
March 3, 2026 15:18
52a8ea5 to
b5728cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates to the codebase, focusing on configuration simplification, improved logging, and code cleanup. The most significant changes are the restriction of certain configuration options to simplify usage, refactoring of logging for consistency, and removal or modification of unused or redundant code to improve maintainability.
Configuration simplification
dssp_acc_arrayandrsa_methodoptions inGraphConfigand related functions to only allow"Wilke"and"dssp"respectively, removing support for other values. This reduces complexity and potential for misconfiguration. [1] [2] [3]rsa_tablesetting from the graph creation process increate_graphs, aligning with the new configuration restrictions.Logging and output improvements
Code cleanup and refactoring
remove_water_from_pdbfunction and related water-removal logic frompreprocessing.py, simplifying the graph creation workflow and ensuring that original files are used directly. [1] [2]pdb_graph_builder.pyandpreprocessing.py. [1] [2]get_exposed_residuesandcreate_graphs. [1] [2]These changes collectively streamline configuration, improve logging for debugging and monitoring, and remove unnecessary code for better maintainability.