Skip to content

Commit

Permalink
Check for property file before parsing shielding
Browse files Browse the repository at this point in the history
  • Loading branch information
smcolby committed Dec 27, 2024
1 parent b79e718 commit 8fc23b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions isicle/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ def _parse_timing(self):
return timings

def _parse_shielding(self):
# Check for property output
if "property" not in self.data:
return None

# Filter comments
property = [
x.strip()
Expand Down

0 comments on commit 8fc23b3

Please sign in to comment.