Skip to content

Commit

Permalink
workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-tesch committed Mar 10, 2024
1 parent 5f82294 commit 54376ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
sphinx-rtd-theme==2.0.0
sphinx==7.2.6
pythonnet==3.0.3
4 changes: 3 additions & 1 deletion src/pytabs/etabs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# general library imports
import pytabs.pytabs_config as config
import os
import warnings
import clr

# read pytabs config file
Expand All @@ -12,7 +13,8 @@
# check to see if ETABS API DLL path from config file exists
etabs_api_path = pytabs_config['ETABS']['API_DLL_PATH']
if not os.path.isfile(etabs_api_path):
raise FileNotFoundError(etabs_api_path)
warnings.warn(f"ETABS API .DLL unable to be located @ {etabs_api_path}, check pytabs_config.py",
ImportWarning)

# pythonnet clr-loader import of Marshal - ETABS API requirement
clr.AddReference("System.Runtime.InteropServices")
Expand Down

0 comments on commit 54376ec

Please sign in to comment.