Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved open issues #10

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

timonoortman-aas
Copy link

The three open issues have been resolved in this pull request:

  • Trigger warning if 00XXX00 in SSIM: in case 00XXX00 is found in SSIM files as either start or end date, a warning is triggered that the season provided as input is used to determine the required start or end date
  • Allow multiple encoding formats apart from UTF-8: a sample of the selected input file is used to determine the encoding format of the file, before reading the full file with the found encoding format
  • Relaxing the compulsory seat order: as some airlines deviate from SSIM standards, seat classes were left over and thereby not read by the algorithm. Instead, by focusing on provided information one is able to read all seat classes.

…f-00XXX00

Warning triggered if infinity_indicator found in SSIM start or end date
…coding-formats

use determined encoding format for importing
- as some airlines deviate from SSIM standards, seat classes were left over and thereby not read by the algorithm. Instead, by focusing on provided information one is able to read all seat classes.
- introduced acv_splitter to make distinction relevant acv info and aircraft version reference code
…seat-order

focus on provided instead of expected aircraft_configuration_string
Copy link
Contributor

@rok rok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great Timo! I've added some comments off the top of my head.

I would recommend you add an example test case of the problem you're fixing for here. See an example case here: https://github.com/Schiphol-Hub/ssim/blob/master/test/data/slots_netherlands.yml. pytest tests can then be used to make sure this change did indeed solve the problem and did not violate another expectation we have for the parser.

ssim/ssim.py Outdated Show resolved Hide resolved
ssim/ssim.py Outdated Show resolved Hide resolved
ssim/ssim.py Show resolved Hide resolved
Copy link

@FlorisHoogenboom FlorisHoogenboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @timonoortman-aas. Could you check the failing build what is going on there?

ssim/ssim.py Outdated Show resolved Hide resolved
ssim/ssim.py Show resolved Hide resolved
ssim/ssim.py Show resolved Hide resolved
ssim/ssim.py Outdated Show resolved Hide resolved
- main adjustment is that encoding format could be provided as keyword argument (instead of inferring encoding format in code)
@timonoortman-aas
Copy link
Author

@FlorisHoogenboom Could you please review it again?

@rok
Copy link
Contributor

rok commented Nov 7, 2021

Can I help push this along somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants