Skip to content

Commit

Permalink
Update aspects.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gognjen authored Jan 4, 2017
1 parent 430d4ca commit 319f342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flatlib/aspects.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _aspectDict(obj1, obj2, aspList):
# Check if aspect is within orb
if asp in const.MAJOR_ASPECTS:
# Ignore major aspects out of orb
if obj1.orb() < orb and obj2.orb() < orb: #or outOfSign:
if obj1.orb(asp) < orb and obj2.orb(asp) < orb: #or outOfSign:
continue
else:
# Ignore minor aspects out of max orb
Expand Down Expand Up @@ -146,8 +146,8 @@ def _aspectProperties(obj1, obj2, aspDict):
return prop

# Aspect within orb
prop1['inOrb'] = orb <= obj1.orb()
prop2['inOrb'] = orb <= obj2.orb()
prop1['inOrb'] = orb <= obj1.orb(asp)
prop2['inOrb'] = orb <= obj2.orb(asp)

# Direction
prop['direction'] = const.DEXTER if sep <= 0 else const.SINISTER
Expand Down

0 comments on commit 319f342

Please sign in to comment.