Compare commits
No commits in common. "b2c1d8bde992114c5ffa5bb4dc038096d93015e8" and "c1bf1c34f070314a257169df61c6fb6a2c63d860" have entirely different histories.
b2c1d8bde9
...
c1bf1c34f0
|
@ -208,11 +208,6 @@ class Diffusion(BaseRerun):
|
|||
str_ += ' ({})'.format(_('rerun'))
|
||||
return str_
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
super().save(*args, **kwargs)
|
||||
if self.is_initial and self.episode != self._initial['episode']:
|
||||
self.rerun_set.update(episode=self.episode, program=self.program)
|
||||
|
||||
#def save(self, no_check=False, *args, **kwargs):
|
||||
#if self.start != self._initial['start'] or \
|
||||
# self.end != self._initial['end']:
|
||||
|
@ -224,6 +219,8 @@ class Diffusion(BaseRerun):
|
|||
|
||||
def save_initial(self):
|
||||
self.program = self.episode.program
|
||||
if self.episode != self._initial['episode']:
|
||||
self.rerun_set.update(episode=self.episode, program=self.program)
|
||||
|
||||
@property
|
||||
def duration(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user