Skip to content

Commit 8bab76c

Browse files
committed
Fix fallback to snap data in step.time
1 parent a1052f9 commit 8bab76c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stagpy/_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def time(self):
571571
steptime = self.timeinfo['t']
572572
except error.MissingDataError:
573573
if self.isnap is not None:
574-
steptime = self.geom.ti_ad
574+
steptime = self.geom._header.get('ti_ad')
575575
return steptime
576576

577577
@property

0 commit comments

Comments
 (0)