Skip to content

Commit

Permalink
First pass abstract attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbradnam committed Nov 5, 2024
1 parent fcd1f5e commit 7f2ddfe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion jade/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,15 @@ def parse_output_data(
return sim_output, tally_numbers, tally_comments

class AbstractSimOutput(abc.ABC):
pass
@property
@abc.abstractmethod
def tallydata(self):
pass

@property
@abc.abstractmethod
def totalbin(self):
pass

class MCNPSimOutput(AbstractSimOutput):
def __init__(
Expand Down

0 comments on commit 7f2ddfe

Please sign in to comment.