[Week 08] — Gearing up for the plotting — II
This blog post deals with the entry of tasks that I did for the 8th week for the project under Google Summer of Code 2019.
Balancing plotting and bug fixing
This week, I didn’t make as much progress as I expected, partly due to poor planning from my side, and partly due to slow progress.
The productivity for me was at an all-time low, and as I was going through my previous week’s stuff that I worked upon, my work-rate dipped to an all-time low, which might seem from the tone of the post 😐.
Coming back to the task that I have done, so I started with the plotting refactoring of 2D
NDCube
. I had rewritten some parts using APE14 methods, so that was a cakewalk. I tried out the examples and some were working quite well, and some were breaking in a way which seemed that the bug was creating the issue. It was difficult to keep track of which tests were breaking for what purpose.
Reconfiguring SLLWCS
to support plotting
So, I nearly forgot to mention, the PRs that I made to support 2D
plotting for NDCube
. I was quite pessimistic from the start of this blog, about the progress for this week, but I did some work which was small but was an important part of the big jigsaw puzzle that I was solving.
So SLLWCS
didn’t have a private helper method, which enabled plotting, so I made a PR which added one.
I also made another PR, which was creating a bug, while I was working through the plotting. I sent a PR to solve that, and that was another small PR, that enabled plotting for 2D
NDCube
.
Working through the plotting bug fix
I started diving into the changes that I made for fixing the bug and found that most of them made sense. There were two tests that were breaking, so I decided to investigate the underlying issue.
Until now, I had been plugging the code and playing with the plotting, as I had a very superficial understanding of the plotting in NDCube
. I had a fairly good idea about it earlier, but with a lot of contextual switching, and playing with a lot of branches, I was surely out of the loop.
I decided to read through the documentation of plotting, and tried to wrap my head to understand what was happening. This took a fair amount of time, as I spent time fetching out old chat conversations, about some suggestions/insights about the working of plotting.
Tasks for the next week
This week I had planned to get the bug fixed, but due to my mentor not getting to review it and me not getting the bug fixed, were the two the reasons for pushing the time period of getting merged.
I really hope that the code is merged, so I can concentrate on the upcoming task.
Link to my previous post
- [Week 07] — Gearing up for the plotting — I — Link