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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user