Skip to content

Commit

Permalink
temporary fix during the dark time
Browse files Browse the repository at this point in the history
  • Loading branch information
decarlof committed Jun 14, 2023
1 parent d4d8a2e commit 7f3d09b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dmagic/scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ def get_current_proposal(args):
-------------
dict-like object with information for current proposal
"""
proposals = dm_api.listProposals()
proposals = dm_api.listProposals('2023-1') # temporary fix during the dark time
# proposals = dm_api.listProposals()
time_now = dt.datetime.now(pytz.utc) + dt.timedelta(args.set)
for prop in proposals:
for i in range(len(prop['activities'])):
Expand Down Expand Up @@ -210,7 +211,8 @@ def print_current_experiment_info(args):
return None
pi = get_current_pi(args)
user_emails = get_current_emails(args, False)
log.info("\tRun Name: {0:s}".format(dm_api.getCurrentRun()['name']))
log.info("\tRun Name: {0:s}".format('2023-1')) # temporary fix during the dark time
# log.info("\tRun Name: {0:s}".format(dm_api.getCurrentRun()['name']))
log.info("\tProposal Title: {0:s}".format(proposal['title']))
log.info("\tPI Name: {0:s} {1:s}".format(pi['firstName'], pi['lastName']))
log.info("\tStart time: {:s}".format(proposal['startTime']))
Expand Down

0 comments on commit 7f3d09b

Please sign in to comment.