Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON file uploads not removed after adding to a display set #3687

Open
jmsmkn opened this issue Nov 5, 2024 · 0 comments · May be fixed by #3761
Open

JSON file uploads not removed after adding to a display set #3687

jmsmkn opened this issue Nov 5, 2024 · 0 comments · May be fixed by #3761
Assignees

Comments

@jmsmkn
Copy link
Member

jmsmkn commented Nov 5, 2024

Describe the bug
JSON file uploads are not removed after being added to a reader study. This might also affect algorithm jobs and archive items after the recent refactoring in #3465. A consequence is that a verified user cannot upload more than 1000 files per day.

To Reproduce
Try to upload a JSON file:

upload_display_sets.append(
            {
                "baseline-lesion-distances": [Path(bl_distances)], # JSON file
                "follow-up-lesion-distances": [Path(fu_distances)], # JSON file
            },
        )
 
display_set_pks = client.add_cases_to_reader_study(
    reader_study=upload_reader_study_slug,
    display_sets=upload_display_sets
)

The files will appear in the display set as expected. However, the uploads will not have been removed.

Expected behavior

The uploads are removed after processing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants