Skip to content

Commit

Permalink
[Imaging Uploader] Prevent upload duplication and handle other mriFil…
Browse files Browse the repository at this point in the history
…e statuses (#3150)

When retrieving the list of MRI's, _getFileList will only append files which already exist in the incoming data directory. However these files get deleted when the MRI pipeline runs successfully, allowing for duplicate uploads for previously successful files. It can be assumed that the insertion was successful based on the number of MINCs inserted being > 0. Use this in addition to file existence to generate the mriList which gets checked when an upload form is submitted.
  • Loading branch information
davidblader authored and driusan committed Oct 18, 2017
1 parent 1bc6e5b commit 4d587ea
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 8 deletions.
Loading

0 comments on commit 4d587ea

Please sign in to comment.