Skip to content

Commit

Permalink
change log and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
aschroed committed Aug 8, 2024
1 parent 837b9f0 commit d017873
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ Change Log
------


3.2.0
=====

* refactor of cleanup.py to get info about accepted workflow versions and run times from db and remove hard coded array
* updated find_and_release notebook to utilize this - not backward compatible
* corrected small bug in delete_wfr function that failed to cleanup errored or duplicated workflow runs on user submitted files as they are not outputs of wfrs


3.1.1
=====

Expand Down
6 changes: 3 additions & 3 deletions functions/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from datetime import datetime


# function to get workflow_details info from db
# function to get workflow_details info from db
# initial datastructure that is the same as that to get info for foursight is transformed
# into the format used in the cleanup functions
# workflow name, accepted revision numbers (0 if none), accetable run time (hours)
Expand Down Expand Up @@ -86,7 +86,7 @@ def get_wfr_report(wfrs):
# skip all style awsem runs
try:
wfr_type_base, wfr_version = wfr_type.strip().split(' ')
except:
except Exception:
continue
time_info = time_info.strip('on').strip()
try:
Expand Down Expand Up @@ -141,7 +141,7 @@ def delete_wfrs(file_resp, my_key, workflow_details, delete=False, stash=None):
else:
output_wfr = output_wfrs[0]
wfr_type, _ = output_wfr['display_title'].split(' run ')
if wfr_type in ['encode-chipseq-aln-ctl 1.1.1', 'encode-chipseq-aln-ctl 2.1.6'] :
if wfr_type in ['encode-chipseq-aln-ctl 1.1.1', 'encode-chipseq-aln-ctl 2.1.6']:
print('skipping control file for wfr check', file_resp['accession'])
return

Expand Down

0 comments on commit d017873

Please sign in to comment.