-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #758 from haddocking/show_gzipped_structures
show gzipped structures in analysis report
- Loading branch information
Showing
5 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from haddock.libs.libworkflow import WorkflowManager | ||
from haddock.core.typing import Any, ModuleParams | ||
import tempfile | ||
from pathlib import Path | ||
import os | ||
|
||
def test_WorkflowManager(caplog): | ||
"""Test WorkflowManager.""" | ||
caplog.set_level("INFO") | ||
ParamDict = { | ||
'topoaa.1': | ||
{'autohis': True, | ||
'molecules': ['fake.pdb'], | ||
'clean': True | ||
} | ||
} | ||
with tempfile.TemporaryDirectory(dir=".") as tmpdir: | ||
workflow = WorkflowManager( | ||
ParamDict, | ||
start=0, | ||
other_params=Any,) | ||
workflow.postprocess() | ||
first_log_line = str(caplog.records[0].message) | ||
second_log_line = str(caplog.records[1].message) | ||
assert first_log_line == "Reading instructions step 0_topoaa" | ||
assert second_log_line == "Running haddock3-analyse on ./, modules [], with top_cluster = 10" | ||
|