g-battaglia / kerykeion

Data driven Astrology 💫
Kerykeion is a python library for astrology. It can generate SVG charts and extract all data about a birthchart, a synastry chart and a transit chart.
https://kerykeion.net
GNU Affero General Public License v3.0
298 stars 103 forks source link

RelationshipScore __create_aspects_dictionary has hardcoded 'conjuction' instead of using correct aspect #51

Closed ppciesiolkiewicz closed 1 year ago

ppciesiolkiewicz commented 1 year ago

As per title, hardcoded 'conjunction' is not correct

    def __create_aspects_dictionary(self, aspect: dict, score: int) -> dict:
        return {
            'points': score,
            'p1_name': aspect['p1_name'],
            'p2_name': aspect['p2_name'],
            'aspect': 'conjunction',    # <------ should be aspect['aspect']
            'orbit': aspect['orbit']
        }
g-battaglia commented 1 year ago

Hi, thanks for reporting the issue, fixed in versione 3.3.1