Closed nils-schmitt closed 7 months ago
In views.py
I use a switch-case (or match-case in python). Unfortunately it was integrated in 3.10, which is why the other pylints fail. Should I change it to a less readable if-elif-else structure or do we ignore 3.8 and 3.9 from now on?
Regarding activity key First of all gj! I noticed 2 things:
@nils-schmitt forget for now the first point, I will write to this later sth
Weird, does work on both of my machines... Try to pull again?
@nils-schmitt Tried it again, works like a charm, also the download and display of the xes! gj!
@nils-schmitt based on the pr description, you did #98?
cc: @FR-SON
regarding the web scraper, do I need to anything else except installing selenium and the webdriver? I got this error:
You might need to install Firefox. As I wrote in the script, it is Firefox exclusive. Could be changed to being chrome exclusive, but to get an idea of the functionality i thought, this is enough
@nils-schmitt based on the pr description, you did #98?
cc: @FR-SON
Well, kind of, as there is no need for the csv in the code at all. But I dont query the dataframe from the database. I just take it from the orchestrator in the reusltview, as it is the same, that was initialized in the filterview...
I also have firefox installed but got the erros above. Maybe it makes sense to specify a path where the firefox file is? Seems like it cant find my firefox
The radio buttons looks good!
I think, that the errors come from you running the script off ubuntu. As the geckodriver has to be installed you might need a sudo
@tkv29 Do you want me to implement further changes? If not, please request reviewers.
Functionality looks good for me! GJ! Web Scraping will be outsourced in another PR
This PR will allow for the key after which the xes and dfg is structured to be selectable. I modified the handling of the dataframe in
views.py
, especially the confusing way of back and forth formatting of column names and the way of accessing the dataframe. Additionally, I removed the need for any.csv
file and I fixed the bug, that the result view crashed when at any point the filters where so selective that no dfg is resulting and afterwards selecting again enough to show a dfg. (I can elaborate on this in the next meeting.)