# Check the proper files have been created
> assert os.path.exists(altered_input_name.replace(".json", "_solve_forces.json"))
E AssertionError: assert False
E + where False = <function exists at 0x1029c6940>('unique_name_solve_forces.json')
E + where <function exists at 0x1029c6940> = <module 'posixpath' from '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/posixpath.py'>.exists
E + where <module 'posixpath' from '/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/posixpath.py'> = os.path
E + and 'unique_name_solve_forces.json' = <built-in method replace of str object at 0x10987ef80>('.json', '_solve_forces.json')
E + where <built-in method replace of str object at 0x10987ef80> = 'unique_name.json'.replace
test/main_tests/test_main.py:36: AssertionError
---------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/Users/peter/Applications/Python/PyVFE/aero/MachUpX/machupX/__init__.py", line 9, in <module>
from machupX.scene import Scene
File "/Users/peter/Applications/Python/PyVFE/aero/MachUpX/machupX/scene.py", line 14, in <module>
from airfoil_db import DatabaseBoundsError
ModuleNotFoundError: No module named 'airfoil_db'
I did check and the proper files exist. But it seems they cannot be found. Where should AirfoilDatabase be located relative to MachUpX? And could someone please help me with this error?peter@MBP2023 MachUpX % python
Python 3.12.4 (main, Jun 6 2024, 18:26:44) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import airfoil_db
>>> pass
>>> quit()
peter@MBP2023 MachUpX % python test/main_tests/test_main.py
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/Users/peter/Applications/Python/PyVFE/aero/MachUpX/machupX/__init__.py", line 9, in <module>
from machupX.scene import Scene
File "/Users/peter/Applications/Python/PyVFE/aero/MachUpX/machupX/scene.py", line 14, in <module>
from airfoil_db import DatabaseBoundsError
ImportError: cannot import name 'DatabaseBoundsError' from 'airfoil_db' (unknown location)
Traceback (most recent call last):
File "/Users/peter/Applications/Python/PyVFE/aero/MachUpX/test/main_tests/test_main.py", line 54, in <module>
test_main()
File "/Users/peter/Applications/Python/PyVFE/aero/MachUpX/test/main_tests/test_main.py", line 36, in test_main
assert os.path.exists(altered_input_name.replace(".json", "_solve_forces.json"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
peter@MBP2023 MachUpX %