Skip to content

Commit

Permalink
revert str
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasTR committed Sep 8, 2022
1 parent fff849b commit 0611dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class Predictor(BasePredictor):
def predict(
self,
protein: Path = Input(description="a PDB protein structure file"),
small_molecule_library: str = Input(description="an SDF file containing >=2 small molecule ligands"),
) -> str:
small_molecule_library: Path = Input(description="an SDF file containing >=2 small molecule ligands"),
) -> Path:
# custom changes
args = inference_VS_2.parse_arguments()
args = args[0]
Expand All @@ -23,7 +23,7 @@ def predict(

# formatting input
protein = str(protein)
#small_molecule_library = str(small_molecule_library)
small_molecule_library = str(small_molecule_library)

# isolate the argument path basenames
protein_base = os.path.basename(protein)
Expand Down

0 comments on commit 0611dcd

Please sign in to comment.