Skip to content

Commit

Permalink
Merge pull request #137 from computationalmodelling/nebm-filesaving-t…
Browse files Browse the repository at this point in the history
…weak

Tweak file saving of NEBM to be sequential alphabetically on filesyst…
  • Loading branch information
davidcortesortuno authored Apr 9, 2019
2 parents ce2f2a3 + 404ac84 commit 1be72aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fidimag/common/chain_method_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def save_VTKs(self, coordinates_function=None):
"""
# Create the directory
directory = 'vtks/%s_%d' % (self.name, self.iterations)
directory = "vtks/{}_{:05d}".format(self.name, self.iterations)
self.VTK.directory = directory

self.band.shape = (self.n_images, -1)
Expand Down

0 comments on commit 1be72aa

Please sign in to comment.