Skip to content
Snippets Groups Projects
Commit 1176f2d4 authored by Lennard Geese's avatar Lennard Geese
Browse files

Adjust for testing wiki weather import

parent 69738ee6
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,9 @@ class Main: ...@@ -22,7 +22,9 @@ class Main:
#dataHandler = Main.DataHandlingPackage() #dataHandler = Main.DataHandlingPackage()
#dataHandler.plotter.plotBackgroundPaintTest() #dataHandler.plotter.plotBackgroundPaintTest()
# self.printRainRaces() self.testNewRainRaceFetching()
#self.printRainRaces()
racesToAnalyse = [ racesToAnalyse = [
SessionIdentifier(2022, "Imola", "R"), # Imola 2022 (DWR) SessionIdentifier(2022, "Imola", "R"), # Imola 2022 (DWR)
...@@ -30,7 +32,12 @@ class Main: ...@@ -30,7 +32,12 @@ class Main:
SessionIdentifier(2024, "Montreal", "R"), # Canada 2024 (DWR) SessionIdentifier(2024, "Montreal", "R"), # Canada 2024 (DWR)
SessionIdentifier(2023, "Montreal", "R") # Canada 2023 (SWR) SessionIdentifier(2023, "Montreal", "R") # Canada 2023 (SWR)
] ]
self.overtakeAnalysis(racesToAnalyse) #self.overtakeAnalysis(racesToAnalyse)
def testNewRainRaceFetching(self):
dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage()
sessionIdentifier: SessionIdentifier = SessionIdentifier(2024, "Brazil", "R")
dataHandler.importer.importWeatherFromWiki(sessionIdentifier)
def printRainRaces(self): def printRainRaces(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment