Skip to content

Commit

Permalink
Prevent region analysis from running when we have no structural data
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraig-ibme committed Jan 26, 2024
1 parent b1b1379 commit fc9fa1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oxasl/region_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ def run(wsp):
wsp: Output data workspace
"""
if not wsp.structural.struc:
return

wsp.log.write("\nRegionwise analysis\n")

if wsp.pvwm is not None:
Expand Down

0 comments on commit fc9fa1d

Please sign in to comment.