CORE-GATECH-GROUP / serpent-tools

A suite of parsers designed to make interacting with SERPENT output files simple and flawless
http://serpent-tools.readthedocs.io/en/latest/
MIT License
52 stars 33 forks source link

phi-dimension cannot be detected with only a single letter #415

Closed sjjamsa closed 4 years ago

sjjamsa commented 4 years ago

Summary of issue

in serpentTools/detectors.py

def _getPlotGrid(self, qty):
         grids = self.grids.get(qty[0].upper())

fails for phi-axis, of course, because phi has three letters

Versions

sjjamsa commented 4 years ago

I have a fixing commit in my local repository. I don't immediately know how to start a pull request for it.