Skip to content

Commit

Permalink
Fix loading picks.
Browse files Browse the repository at this point in the history
  • Loading branch information
atrabattoni committed Feb 1, 2024
1 parent 8c23624 commit aa1610c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xpick/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def save_picks():
@console_message("Loading picks...")
def load_picks():
picks = pd.read_csv(path.value, parse_dates=["time"])
picks["time"] = (picks["time"] - np.datetime64(0, "ms")) / np.timedelta64(1, "ms")
picks["status"] = "inactive"
source_picks.data = picks.to_dict("list")

Expand Down

0 comments on commit aa1610c

Please sign in to comment.