mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
review improvment, refactor to single line
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
7becabcde4
commit
0d84c53818
1 changed files with 1 additions and 2 deletions
|
|
@ -143,8 +143,7 @@ class Material(IDManagerMixin):
|
|||
string += '{: <16}=\t{}'.format('\tDensity', self._density)
|
||||
string += f' [{self._density_units}]\n'
|
||||
|
||||
string += '{: <16}=\t{}'.format('\tVolume', self._volume)
|
||||
string += ' [cm^3]\n'
|
||||
string += '{: <16}=\t{} [cm^3]\n'.format('\tVolume', self._volume)
|
||||
|
||||
string += '{: <16}\n'.format('\tS(a,b) Tables')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue