Apply @pshriwise suggestions from code review

Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
Paul Romano 2022-07-18 15:30:52 -05:00 committed by GitHub
parent 8e4ce676ff
commit dc7851dda2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -291,10 +291,10 @@ class WeightWindows(IDManagerMixin):
subelement.text = ' '.join(str(e) for e in self.energy_bounds)
subelement = ET.SubElement(element, 'lower_ww_bounds')
subelement.text = ' '.join(str(b) for b in self.lower_ww_bounds.ravel())
subelement.text = ' '.join(str(b) for b in self.lower_ww_bounds.ravel('F'))
subelement = ET.SubElement(element, 'upper_ww_bounds')
subelement.text = ' '.join(str(b) for b in self.upper_ww_bounds.ravel())
subelement.text = ' '.join(str(b) for b in self.upper_ww_bounds.ravel('F'))
subelement = ET.SubElement(element, 'survival_ratio')
subelement.text = str(self.survival_ratio)