Skip to content

Commit

Permalink
protect against deleted bricks (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed Jan 11, 2022
1 parent 1e7122b commit bc4cd67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/populse_mia/data_manager/data_history_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ def get_history_brick_process(brick_id, project, before_exec_time=None):

session = project.session
binfo = session.get_document(COLLECTION_BRICK, brick_id)
if binfo is None:
return None
#print(brick_id, ':', binfo[BRICK_NAME])
#print(binfo.keys())
inputs = binfo[BRICK_INPUTS]
Expand Down

0 comments on commit bc4cd67

Please sign in to comment.