Skip to content

Commit

Permalink
fixed annotations to account for presence of new json field
Browse files Browse the repository at this point in the history
  • Loading branch information
MGS-sails committed Sep 13, 2023
1 parent 17f267c commit cd604d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions emgapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1608,6 +1608,9 @@ def release_version(self):

@property
def analysis_summary(self):
if self.analysis_summary_json:
return self.analysis_summary_json

return [
{
'key': v.var.var_name,
Expand Down

0 comments on commit cd604d5

Please sign in to comment.