Skip to content

Commit 03cd033

Browse files
committed
Update Celeris requirements and 1D version
1 parent ee985a9 commit 03cd033

File tree

4 files changed

+1094
-21
lines changed

4 files changed

+1094
-21
lines changed

modules/createEVENT/Celeris/Celeris.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,6 @@
5959
print() # noqa: T201
6060

6161

62-
# Check if bresenham is installed before importing bresenham
63-
try:
64-
import bresenham
65-
except ImportError:
66-
print('Bresenham is not installed. Please install it using "pip install bresenham".')
67-
# noqa: T201
68-
print()
69-
subprocess.run([sys.executable, '-m', 'pip', 'install', 'bresenham'], check=False) # noqa: S603
70-
try:
71-
import bresenham
72-
except ImportError:
73-
print('Bresenham installation failed. Please install it manually.')
74-
# noqa: T201
75-
sys.exit(1)
76-
print('Bresenham is installed successfully.')
77-
# noqa: T201
78-
print()
79-
8062
class FloorForces: # noqa: D101
8163
def __init__(self, recorderID=-1): # noqa: N803
8264
if recorderID < 0:

0 commit comments

Comments
 (0)