Skip to content

Commit

Permalink
initial packmol tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCox822 committed Mar 6, 2024
1 parent a3436bd commit 2fbf3da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion mdagent/tools/base_tools/preprocess_tools/packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def packmol_wrapper(


"""Args schema for packmol_wrapper tool. Useful for OpenAI functions"""
##TODO


class PackmolInput(BaseModel):
Expand Down
11 changes: 10 additions & 1 deletion tests/test_packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

import pytest

from mdagent.tools.base_tools.preprocess_tools.packing import Molecule, PackmolBox
from mdagent.tools.base_tools.preprocess_tools.packing import (
Molecule,
PackmolBox,
PackMolTool,
)
from mdagent.utils import PathRegistry


Expand All @@ -16,6 +20,11 @@ def packmolbox(get_registry):
return PackmolBox(get_registry)


@pytest.fixture
def packmoltool(get_registry):
return PackMolTool(get_registry)


@pytest.fixture
def dummy_molecule():
return Molecule(
Expand Down

0 comments on commit 2fbf3da

Please sign in to comment.