Skip to content

Commit

Permalink
pdb_fixer clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Duane Walker authored and Brandon Duane Walker committed May 21, 2024
1 parent 5965ec4 commit debd679
Show file tree
Hide file tree
Showing 18 changed files with 9 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# docker build -f Dockerfile -t mrbrandonwalker/pdbfixer .
# docker build -f Dockerfile -t polusai/pdbfixer-tool:0.1.0 .

FROM condaforge/mambaforge
# pdbfixer not installable with poetry
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

version=$(<VERSION)
docker build . -t polusai/pdbfixer-tool:${version}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
specVersion: 0.1.0
name: labshare/pdbfixer
version: 0.1.0
container: polusai/pdbfixer-plugin:0.1.0
container: polusai/pdbfixer-tool:0.1.0
entrypoint: ""
title: pdbfixer
description: Fix pdbfiles.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ baseCommand: ["python", "-m", "polus.mm.utils.pdbfixer"]

hints:
DockerRequirement:
dockerPull: mrbrandonwalker/pdbfixer
dockerPull: polusai/pdbfixer-tool@sha256:a44142a9b23b60950bdc2cb7d6c760f4216cc7f59dad0468f92ff87a976f3ab2

inputs:
input_pdb_path:
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_pdbfixer() -> None:

def test_cwl_pdb_fixer() -> None:
"""Test the pdbfixer function in cwltool."""
cwl_file = Path("pdb_fixer.cwl")
cwl_file = Path("pdb_fixer_0.1.0.cwl")
input_to_props = parse_cwl_arguments(cwl_file)
input_pdb_path = "1msn_protein.pdb"
input_pdb_path = str(Path(__file__).resolve().parent / Path(input_pdb_path))
Expand All @@ -60,7 +60,7 @@ def test_cwl_pdb_fixer() -> None:
input_to_props["input_helper_pdb_path"]["path"] = input_helper_pdb_path
input_to_props["input_helper_pdb_path"]["class"] = "File"
input_to_props["output_pdb_path"] = "output.pdb"
input_yaml_path = Path("pdb_fixer.yml")
input_yaml_path = Path("pdb_fixer_0.1.0.yml")
create_input_yaml(input_to_props, input_yaml_path)
stdout, stderr = call_cwltool(cwl_file, input_yaml_path)

Expand Down

0 comments on commit debd679

Please sign in to comment.