Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Simulation/CancerInvasionSteppables.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def initialize_stable_ecm(self):
break

# Generate fiber with safety checks
start_x = random.randint(100, 399)
start_y = random.randint(100, 399)
start_x = random.randint(100, self.dim.x - 101)
start_y = random.randint(100, self.dim.y - 101)
angle = random.uniform(0, 2 * math.pi)

# Create simple linear fiber
Expand Down Expand Up @@ -150,7 +150,7 @@ def initialize_stable_cells(self):
"""Create stable cancer cell cluster"""
try:
print("Creating stable cancer cell cluster...")
center_x, center_y = 250, 250
center_x, center_y = int(self.dim.x / 2), int(self.dim.y / 2)
target_cells = 50 # Reduced for stability

cells_created = 0
Expand Down
Binary file not shown.