QATrack+ Extension

358 views
Skip to first unread message

Aditya Panchal

unread,
Sep 2, 2015, 4:21:58 PM9/2/15
to qat...@googlegroups.com
Hey all,

Just wanted to show what we were able to do by extending QATrack+.

At our center we wanted to improve our Proton Pencil Beam Scanning Daily QA by taking the tests we originally ran in our planar detector (which was marked as a boolean pass/fail in QATrack+) and analyzed in Excel, with a file upload test that would save the planar detector data and calculate composite test results.

After creating the test lists, we made a new Django package called qatrack-pbsdailyqa that takes and plots the data uploaded from the upload tests. We then are able to graphically analyze our spots using a variety of parameters.

Hope this shows how great of a platform QATrack+ is and if you are creative enough, you can build anything on top of it.

Thanks to Randle and others on this group for all the helpful hints and suggestions.

Adit

Inline image 2Inline image 3

jon.d...@gmail.com

unread,
Nov 30, 2016, 2:32:17 PM11/30/16
to QATrack+
Hello Aditya,
I'm curious to know a few more details of how you created the extension. Do you have any additional documentation posted elsewhere? Great work! thanks
Jon

Aditya Panchal

unread,
Dec 2, 2016, 3:33:30 PM12/2/16
to jon.d...@gmail.com, QATrack+
Hi Jon,

Thank you for the kind words.

Basically, I added the custom qatrack-pbsdailyqa package to the site-packages folder of our institution's QATrack+ setup and then made the changes to the configuration as shown in the attached readme.

This results in a new route in QATrack+. I then modified the dropdown for the Review QA menu on the homepage to include this new route.

The actual qatrack-pbsdailyqa module just grabs the test list instances and determines the file name of the associated uploaded data. It then performs a quick analysis and outputs the graph via matplotlib as a png. The UI was created using some basic jQuery for the date picker.

Let me know if you have any more questions.

Adit




--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

README.rst
review_pbs_qa.png

Robin Cole

unread,
Feb 16, 2017, 5:19:38 AM2/16/17
to QATrack+
Very nice! I can think of a few tests which would be nice to implement in this way. Any chance you can post the full code on Github? I have lots of experience with Matplotlib etc but not with Django. It would be nice to see how we could go from performing analysis e.g within a jupyter notebook, to performing the analysis in the way you show.
Cheers
Robin 

Aditya Panchal

unread,
Apr 27, 2017, 12:10:46 AM4/27/17
to Robin Cole, QATrack+

--

Simon Biggs

unread,
Apr 28, 2017, 6:03:39 PM4/28/17
to QATrack+
Hi Adit,

Would you be happy for me to include this package as an example within the QAtrack+ docker installation? A clone of your GitHub repo will be placed within deploy/custom_packages and then the docker image settings will have commented out examples that would include your package.

This would be for the purpose of providing an example to others for making their own extensions.

Cheers,
Simon

Aditya Panchal

unread,
Apr 28, 2017, 10:46:14 PM4/28/17
to Simon Biggs, QATrack+
Hi Simon,

That would be perfectly fine. Do note per the readme that the package relies on some variables being set in local_settings.py and a file upload test should be present in a test list.

I can provide an example PBS spot file if needed, or maybe toss it in the repo.

Adit

Simon Biggs

unread,
Apr 28, 2017, 10:47:21 PM4/28/17
to Aditya Panchal, QATrack+

Hi Aditya,

An example PBS file in the repo would be great. Thanks :)


On Sat., 29 Apr. 2017, 12:46 pm Aditya Panchal, <apan...@bastula.org> wrote:
Hi Simon,

That would be perfectly fine. Do note per the readme that the package relies on some variables being set in local_settings.py and a file upload test should be present in a test list.

I can provide an example PBS spot file if needed, or maybe toss it in the repo.

Adit

On Fri, Apr 28, 2017 at 5:03 PM, Simon Biggs <amongt...@gmail.com> wrote:
Hi Adit,

Would you be happy for me to include this package as an example within the QAtrack+ docker installation? A clone of your GitHub repo will be placed within deploy/custom_packages and then the docker image settings will have commented out examples that would include your package.

This would be for the purpose of providing an example to others for making their own extensions.

Cheers,
Simon

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages