def get_orientation(self, si, sj):
        if not si or not sj:
            return 0
        # Same orientation configuration
        a = lms(si + sj)
        b = lms(sj + si)
        # Opposite orientation configuration
        c = lms(si + sj[::-1])
        d = lms(sj[::-1] + si)
        return max(a, b)[0] - max(c, d)[0]
Initialize all valid properties.
dataset/ETHPy150Open tanghaibao/jcvi/assembly/allmaps.py/ScaffoldOO.get_orientation--crossover with--dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/nutritionorder.py/NutritionOrder.__init__