Skip to content

Commit

Permalink
traj1d: missed return seltime
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Dec 12, 2024
1 parent e95fa4c commit 694f069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajan/traj1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def sel(self, *args, **kwargs):
return self.ds.sel(*args, **kwargs)

def seltime(self, t0=None, t1=None):
self.ds.sel({self.time_varname: slice(t0, t1)})
return self.ds.sel({self.time_varname: slice(t0, t1)})

def iseltime(self, i):
return self.ds.isel({self.time_varname: i})
Expand Down

0 comments on commit 694f069

Please sign in to comment.