Skip to content

Commit

Permalink
Merge pull request #288 from 4dn-dcic/disable-converters
Browse files Browse the repository at this point in the history
disable actions on converters
  • Loading branch information
KorayKirli committed May 21, 2020
2 parents 458c549 + a37a3df commit 3416d21
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions chalicelib/checks/wfr_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ def bg2bw_status(connection, **kwargs):
check.summary = 'All Good!'
return check
check = wfr_utils.check_runs_without_output(res, check, 'bedGraphToBigWig', my_auth, start)
# disable while under construction
check.allow_action = False
check.summary = 'Check is under construction.'
check.description = 'Check is under construction.'
return check


Expand Down Expand Up @@ -480,14 +484,16 @@ def bed2beddb_status(connection, **kwargs):
lab = kwargs.get('lab_title')
if lab:
query += '&lab.display_title=' + lab

# The search
res_all = ff_utils.search_metadata(query, key=my_auth)

if not res_all:
check.summary = 'All Good!'
return check
check = wfr_utils.check_runs_without_output(res_all, check, 'bedtobeddb', my_auth, start)
# disable while under construction
check.allow_action = False
check.summary = 'Check is under construction.'
check.description = 'Check is under construction.'
return check


Expand Down

0 comments on commit 3416d21

Please sign in to comment.