def _parse_basic_schedule(self, line):
        if hasattr(self, '_current_journey'):
            reset_queries()
            with transaction.commit_on_success():
                self._save_stops(self._save_journey(self._save_route()))

        self._current_journey = {
            'external_ref': line[3:9],
            'runs_from': self._parse_cif_date(line[9:15]),
            'runs_until': self._parse_cif_date(line[15:21]),
            'runs_on_monday': line[21] == '1',
            'runs_on_tuesday': line[22] == '1',
            'runs_on_wednesday': line[23] == '1',
            'runs_on_thursday': line[24] == '1',
            'runs_on_friday': line[25] == '1',
            'runs_on_saturday': line[26] == '1',
            'runs_on_sunday': line[27] == '1',
            'runs_in_termtime': True,
            'runs_on_bank_holidays': ('X', 'E', 'G') not in line[28],
            'runs_on_non_bank_holidays': True,
            # TODO: Extract category/class/catering for more information here
            'vehicle': 'TRAIN'
        }
        self._current_route = {
            'external_ref': line[3:9],
            'service_id': line[32:36]
        }
        self._stops = []
dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/places/providers/cif.py/CifTimetableProvider._parse_basic_schedule/swapped operands of `not in`