HumanSignal / HumanSignal/label-studio

Items removed from source storage are still present in list of tasks after syncing.

Open
#4,133 5 comments 1 reaction 1 assignee Claimed by @makseq View on GitHub
community:reviewed
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
I am labelling sound events from a list of audio stored in a local folder. My source storage is this folder and I sync it every now and then whenever I have new audio in it. BUT, when I delete some audio from this folder, and that I sync it in LS, the removed audio are not deleted from my list of tasks. I then have to remove them all manually or start a new project from scratch to have everything clean.

**To Reproduce**
Steps to reproduce the behavior:
1. Set a local folder as a source storage
2. Add some audio to it
3. Sync it in LS
4. Remove a couple of audio from this source storage
5. Sync it again in LS
6. Check the list of tasks (removed audio are still present)

**Expected behavior**
I want the removed audio to disappear from the list of tasks after I sync. Sometimes I just change the naming convention for my data and I end up with two versions of the same data in my list of tasks, with different names, because the old one didn't get removed.

**Screenshots**
N/A

**Environment (please complete the following information):**
- OS: Windows 10
- Label Studio Version 1.7.3dev

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.