Skip to content

Commit

Permalink
added loading bar and removed some print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne authored and Wayne committed Jul 26, 2024
1 parent 7fbbb5a commit 1b1f84b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fireworks/core/launchpad.py
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,8 @@ def cancel_reservation_by_reservation_id(self, reservation_id) -> None:
def get_reservation_id_from_fw_id(self, fw_id):
"""Given the firework id, return the reservation id."""
jobid=reservation_id_from_fw_id.main(fw_id)
if jobid==None:
print('No matching fw_id-JobID pair. The firework may be a lost run')
return jobid

def cancel_reservation(self, launch_id) -> None:
Expand Down

0 comments on commit 1b1f84b

Please sign in to comment.