-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haddock3-traceback #668
haddock3-traceback #668
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #668 +/- ##
==========================================
+ Coverage 74.73% 74.94% +0.21%
==========================================
Files 111 113 +2
Lines 7642 7800 +158
==========================================
+ Hits 5711 5846 +135
- Misses 1931 1954 +23
☔ View full report in Codecov by Sentry. |
# get the module folders from the run_dir input | ||
all_steps = get_module_steps_folders(Path(run_dir)) | ||
log.info(f"All_steps: {', '.join(all_steps)}") | ||
sel_step = [st for st in all_steps if st.split("_")[1] not in ANA_MODULES] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'_'.join(st.split("_")[1:])
Just to make sure if any module has an underscore character one day ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not worry about it..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to try it out now.
I am not so familiar with the panda library, hence cannot clearly assess this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazing addition! just a few comments
hi @rvhonorato can you check this again and, in case it's Ok, approve it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to put it directly after a Haddock3 run !
Almost wondering if it still has to be a separated client and not embedded in the analysis one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will trust on on it
You are about to submit a new Pull Request. Before continuing make sure you read the contributing guidelines and that you comply with the following criteria:
tox
tests pass. Runtox
command inside the repository folder-test.cfg
examples execute without errors. Insideexamples/
runpython run_tests.py -b
Closes #402 by tracking all the PDB files in a HADDOCK3 workflow.
Starting from the end of the workflow, this CLI gathers the information contained in the
io.json
file to understand name and rank of each model and, more importantly, the name of the parent model (ori_name
attribute) that was used to generate the current structure. In order to do this, I added theori_name
attribute to all the modules, with the exception of the rigidbody module, in which the topology attribute is employed to guess the (typically two) ancestors.Doubt: now the modules to be excluded from the traceback are listed here
haddock3/src/haddock/clis/cli_traceback.py
Line 26 in 61773b6
Important: for new modules that generate PDB files (such as Openmm #482 ), the attribute
ori_name
should be defined for a successful traceback.Important 2.0: the traceback does not work on old HADDOCK3 runs (the attribute
ori_name
is not defined for all the modules).