Python formatting is annoying.

I sometimes miss C -- but only with output formatting.  C++ cout marks
some decline of civilization, I think...

Addresses https://github.com/jensengroup/propka-3.1/pull/40#discussion_r432313434
This commit is contained in:
Nathan Baker
2020-05-29 20:55:32 -07:00
parent a716c89a36
commit d7147799d8

View File

@@ -473,7 +473,7 @@ class Group:
str_ += '*'
else:
str_ += ' '
str_ += " {0:4d}{1:>2s} ".format(int(100.0*self.buried), "%%")
str_ += " {0:4d}{1:>2s} ".format(int(100.0*self.buried), "%")
str_ += " {0:6.2f} {1:4d}".format(
self.energy_volume, int(self.num_volume))
str_ += " {0:6.2f} {1:4d}".format(