Skip to content

Commit

Permalink
Write zero padded filenames.
Browse files Browse the repository at this point in the history
This makes it much easier to sort them in order.
  • Loading branch information
prabhuramachandran committed May 11, 2020
1 parent 6c39a9e commit 1962676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysph/solver/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def dump_output(self):
logger.info(msg)

fname = os.path.join(self.output_directory,
self.fname + '_' + str(self.count))
'%s_%05d' % (self.fname, self.count))

comm = None
if self.parallel_output_mode == "collected" and self.in_parallel:
Expand Down

0 comments on commit 1962676

Please sign in to comment.