Skip to content

Commit

Permalink
fix flywire.annotations.clear_cached_annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Aug 13, 2024
1 parent f7c3b39 commit 5dbd160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fafbseg/flywire/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ def clear_cached_annotations():
cache_dir = Path(CACHE_DIR).expanduser().absolute()

# Delete all files in cache_dir that match "flywire_annotations@*.tsv"
cached = [f.name.split('@')[-1].split('.')[0] for f in cache_dir.glob('flywire_annotations@*.tsv')]
cached = [f.name for f in cache_dir.glob('flywire_annotations@*.tsv')]

for c in cached:
fp = cache_dir / c
Expand Down

0 comments on commit 5dbd160

Please sign in to comment.