Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
knc6 committed Nov 27, 2024
1 parent aa1bb73 commit 1d00be9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions atomgpt/tests/test_forward.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import os
from atomgpt.forward_models.forward_models import run_atomgpt
from atomgpt.forward_models.forward_models import main


def test_forward():
run_atomgpt("atomgpt/examples/forward_model/config.json")
main("atomgpt/examples/forward_model/config.json")
# cmd='python atomgpt/forward_models/forward_models.py --config_name atomgpt/examples/forward_model/config.json'
# os.system(cmd)


# test_forward()
#test_forward()
4 changes: 2 additions & 2 deletions atomgpt/tests/test_inverse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from atomgpt.inverse_models.inverse_models import run_atomgpt_inverse
from atomgpt.inverse_models.inverse_models import main
import os
import atomgpt

Expand All @@ -10,7 +10,7 @@

def run_inverse():
try:
run_atomgpt_inverse(config)
main(config)
except Exception as exp:
print("exp", exp)
pass
Expand Down

0 comments on commit 1d00be9

Please sign in to comment.