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

Lahti: Muuta importskripti lukemaan csv-tiedostoja xslx sijaan #61

Merged
merged 5 commits into from
Nov 17, 2023

Conversation

Mtk112
Copy link
Contributor

@Mtk112 Mtk112 commented Nov 14, 2023

  • Added Asiakas to osapuolenroolit (temporary, should be removed with updated roles).
  • Fixed outerjoin in buildings.py, previous code gave errors with csv files.
  • Updated some Jatelaji models to reflect what is in the kuljetustiedot.
  • Changed siirtotiedosto to read from csv rather than excel.
  • Converted test kuljetustiedot from excel to csv.
  • Added already made fixes for tests (init_database.bat & update_database.bat).
  • Modified tests to reflect changes made.

Added Asiakas to osapuolenroolit (temporary, should be removed with updated roles).
Fixed outerjoin in buildings.py, previous code gave errors with csv files. Updated some Jatelaji models to reflect what is written in the kuljetustiedot. Changed siirtotiedosto to read from csv rather than excel.
Converted test kuljetustiedot from excel to csv.
Added already made fixes for tests (init_database.bat & update_database.bat).
Modified tests.
@Mtk112 Mtk112 requested a review from ismogis November 14, 2023 16:21
@Mtk112 Mtk112 self-assigned this Nov 14, 2023
@Mtk112 Mtk112 changed the title Kuljetustiedot from .csv files. Lahti: Muuta importskripti lukemaan csv-tiedostoja xslx sijaan Nov 14, 2023
Mtk112 and others added 4 commits November 15, 2023 21:45
Added alternative strings for some jatelaji. Fixed parsing empty strings, when data is missing.  Fixed a case where SUM(astiamaara) is a decimal, with "," instead of ".". In reality this is likely a typo in the data.
@ismogis ismogis merged commit 12edf2d into main Nov 17, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Muuta importskripti lukemaan csv-tiedostoja xslx sijaan
2 participants