1. 22 May, 2017 26 commits
  2. 19 May, 2017 5 commits
    • Ryan Herbert's avatar
      file.py db.py delete sample_set_membership by cascade · 90a57777
      Ryan Herbert authored
      In the previous commit we fixed the loop that deleted the
      sample_set_membership entries when deleting a sequence_file. But it was
      far from optimal. Delegating the deletion to the DAL seems much cleaner
      and should be faster than the previous method.
      90a57777
    • Ryan Herbert's avatar
      file.py fix sample_set_membership deletion · c7241470
      Ryan Herbert authored
      The loop in charge of deleting sample_set_membership was placed after
      the deletion of the sequence_file, which caused the references to said
      sequence_file to be set to NULL, and therfore the loop was never
      executed.
      Therefore placing the loop ahead of the sequence_file deletion should
      reduce database pollution.
      c7241470
    • Ryan Herbert's avatar
      results_file.py re-fuse on delete · bd3d3acb
      Ryan Herbert authored
      When deleting a results_file, if there are any results_files remaining
      in the sample_set, we want to re-fuse them.
      
      See: #1631
      bd3d3acb
    • Ryan Herbert's avatar
      file.py schedule_fuse on delete · de39e3d8
      Ryan Herbert authored
      When results are deleted along with a sequence file, we want to re-fuse
      the remaining results_files in order to remove the deleted results from
      the sample_set.
      
      See #1631
      de39e3d8
    • Ryan Herbert's avatar
      task.py add schedule_fuse · 822105da
      Ryan Herbert authored
      We now want to be able to schedule a fuse task in order to refuse a
      sample_set from which a sequence_file has been deleted.
      822105da
  3. 18 May, 2017 9 commits