Commit f289c25f authored by Niels-Oliver Walkowski's avatar Niels-Oliver Walkowski
Browse files

update number of digits in file path to the default 5

parent b427aed4
......@@ -159,7 +159,7 @@ class MultivariateSequence(View):
# now solved by having implemented sorted(Path()…) in Frames
pwd = ""
if '_0' in str(self._frames.frames[0]):
pwd = self._frames.folder + self._frames.prefix + '{0:04d}'.format(frm_nr) + '.png'
pwd = self._frames.folder + self._frames.prefix + '{0:05d}'.format(frm_nr) + '.png'
else:
pwd = self._frames.folder + self._frames.prefix + str(frm_nr) + '.png'
......@@ -247,7 +247,7 @@ class BivariateSequence(View):
self._frame_step):
pwd = ""
if '_0' in str(self._frames.frames[0]):
pwd = self._frames.folder + self._frames.prefix + '{0:04d}'.format(frm_nr) + '.png'
pwd = self._frames.folder + self._frames.prefix + '{0:05d}'.format(frm_nr) + '.png'
else:
pwd = self._frames.folder + self._frames.prefix + str(frm_nr) + '.png'
......@@ -402,7 +402,7 @@ class UnivariateSequence(View):
self._frame_step):
pwd = ""
if '_0' in str(self._frames.frames[0]):
pwd = self._frames.folder + self._frames.prefix + '{0:04d}'.format(frm_nr) + '.png'
pwd = self._frames.folder + self._frames.prefix + '{0:05d}'.format(frm_nr) + '.png'
else:
pwd = self._frames.folder + self._frames.prefix + str(frm_nr) + '.png'
......@@ -461,7 +461,7 @@ class UnivariateSequence(View):
self._frame_step):
pwd = ""
if '_0' in str(self._frames.frames[0]):
pwd = self._frames.folder + self._frames.prefix + '{0:04d}'.format(frm_nr) + '.png'
pwd = self._frames.folder + self._frames.prefix + '{0:05d}'.format(frm_nr) + '.png'
else:
pwd = self._frames.folder + self._frames.prefix + str(frm_nr) + '.png'
......@@ -519,7 +519,7 @@ class UnivariateSequence(View):
self._frame_step):
pwd = ""
if '_0' in str(self._frames.frames[0]):
pwd = self._frames.folder + self._frames.prefix + '{0:04d}'.format(frm_nr) + '.png'
pwd = self._frames.folder + self._frames.prefix + '{0:05d}'.format(frm_nr) + '.png'
else:
pwd = self._frames.folder + self._frames.prefix + str(frm_nr) + '.png'
......@@ -567,7 +567,7 @@ class UnivariateSequence(View):
self._frame_step):
pwd = ""
if '_0' in str(self._frames.frames[0]):
pwd = self._frames.folder + self._frames.prefix + '{0:04d}'.format(frm_nr) + '.png'
pwd = self._frames.folder + self._frames.prefix + '{0:05d}'.format(frm_nr) + '.png'
else:
pwd = self._frames.folder + self._frames.prefix + str(frm_nr) + '.png'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment