Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
e879a641
Commit
e879a641
authored
8 months ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
comparison actions: add ost version to json out
parent
580c818e
No related branches found
Branches containing commit
Tags
2.1.0-rc3
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
actions/ost-compare-ligand-structures
+3
-1
3 additions, 1 deletion
actions/ost-compare-ligand-structures
actions/ost-compare-structures
+2
-0
2 additions, 0 deletions
actions/ost-compare-structures
with
5 additions
and
1 deletion
actions/ost-compare-ligand-structures
+
3
−
1
View file @
e879a641
...
...
@@ -35,7 +35,7 @@ are exempt from this restriction, meaning any arbitrary ligand can be assessed.
Output can be written in two format: JSON (default) or CSV, controlled by the
--output-format/-of argument.
Without additional options, the JSON ouput is a dictionary with
three
keys:
Without additional options, the JSON ouput is a dictionary with
four
keys:
* "model_ligands": A list of ligands in the model. If ligands were provided
explicitly with --model-ligands, elements of the list will be the paths to
...
...
@@ -48,6 +48,7 @@ Without additional options, the JSON ouput is a dictionary with three keys:
* "status": SUCCESS if everything ran through. In case of failure, the only
content of the JSON output will be \"status\" set to FAILURE and an
additional key: "traceback".
* "ost_version": The OpenStructure version used for computation.
Each score is opt-in and the respective results are available in three keys:
...
...
@@ -850,6 +851,7 @@ def _Main():
cleaned_reference, cleaned_reference_ligands,
args)
out["ost_version"] = ost.__version__
out["status"] = "SUCCESS"
if args.output_format == "json":
with open(args.output, 'w') as fh:
...
...
This diff is collapsed.
Click to expand it.
actions/ost-compare-structures
+
2
−
0
View file @
e879a641
...
...
@@ -61,6 +61,7 @@ results:
* "min_nuc_length"
* "lddt_add_mdl_contacts"
* "dockq_capri_peptide"
* "ost_version"
The pairwise sequence alignments are computed with Needleman-Wunsch using
BLOSUM62 (NUC44 for nucleotides). Many benchmarking scenarios preprocess the
...
...
@@ -963,6 +964,7 @@ def _Main():
out["min_nuc_length"] = args.min_nuc_length
out["lddt_add_mdl_contacts"] = args.lddt_add_mdl_contacts
out["dockq_capri_peptide"] = args.dockq_capri_peptide
out["ost_version"] = ost.__version__
out["status"] = "SUCCESS"
with open(args.output, 'w') as fh:
json.dump(out, fh, indent=4, sort_keys=False)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment