-
Notifications
You must be signed in to change notification settings - Fork 7
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
Broken Gantt visualization #8
Comments
I have indeed only tested it with a Batsim workload as I was not aware that some of the columns would be absent in other workloads. So thanks for pointing that out. The new branch I have added two example workloads in |
Thanks for your input ;) I have however completely changed the architecture of the visualization modules. The approach initially proposed introduced nasty quirks, and did not allow to reuse code that much. I did not integrate your code in
I have nonetheless merged your work into Please also note that the CLI is deprecated, and its maintainance is not a priority. |
Thank you for pointing that out. I agree that my use case was probably too specialised if you want to keep the main code of evalys as simple as possible. The example you have provided is also working without any problems, so thank you for that. However, wouldn't it be better to remove the CLI then completely? I mean if it is deprecated and if we don't even try to keep it compatible with the legacy API and the CLI is instead completely broken with the new changes it probably makes more sense to remove the broken code. By the way, are you still working on the visualisation code currently or when will you merge it into master? |
I totally agree we should remove the CLI, and I opened an issue to keep that in mind (see #9). |
@bleuse I have a user that have the same problem with workload name. Is your work on the refactoring usable right now? I'd like to merge it and make a release. |
I just pushed my work into master. Let me know if the new version is more usable. |
The commit 9e590c6 by @stlackner breaks the existing Gantt chart visualization. This is due to the fact that the introduced
map_unique_numbers
relies on the workload being a BatSim workload (more specifically on the columnworkload_name
for example).In my understanding of the project, evalys is meant to be a bit more generic than a visualization tool for BatSim. I understand however that BatSim hackers are the main contributors to this project.
I started a refactor of the visualization code (see branch refactor/visu) that should help to make visualization code support various versions.
@stlackner could you have a look, and tell me if your code is compatible with the new approach? If yes, I'd be glad to get some hints :) Moreover, if you have an example script I can use to test, it'll be awesome.
The text was updated successfully, but these errors were encountered: