df
This commit is contained in:
27
debug_paths.py
Normal file
27
debug_paths.py
Normal file
@@ -0,0 +1,27 @@
|
||||
from tarot.tarot_api import Tarot
|
||||
|
||||
print("Initializing Tarot...")
|
||||
# Force initialization
|
||||
Tarot._ensure_initialized()
|
||||
Tarot.tree._ensure_initialized()
|
||||
|
||||
print("Checking Paths...")
|
||||
paths = Tarot.tree.path()
|
||||
print(f"Found {len(paths)} paths")
|
||||
|
||||
found_aleph = False
|
||||
for p in paths.values():
|
||||
print(f"Path {p.number}: {p.hebrew_letter} -> {p.tarot_trump}")
|
||||
if p.hebrew_letter == "Aleph":
|
||||
found_aleph = True
|
||||
|
||||
if not found_aleph:
|
||||
print("Aleph path not found!")
|
||||
else:
|
||||
print("Aleph path found.")
|
||||
|
||||
print("Checking Cards...")
|
||||
cards = Tarot.deck.card.filter()
|
||||
print(f"Found {len(cards)} cards")
|
||||
fool = Tarot.deck.card.filter(name="Fool")
|
||||
print(f"Fool card: {fool}")
|
||||
Reference in New Issue
Block a user