Skip to content
Snippets Groups Projects
Commit f876e8cf authored by Anthony Lim's avatar Anthony Lim
Browse files

refs #21779 simplified the data storage in maxent_model.py

parent fcc88a2f
No related branches found
No related tags found
No related merge requests found
......@@ -21,14 +21,8 @@ class MaxEntWrapper(object):
"""
store the data in the wrapper for later
"""
if "phaseTable" in inputs:
self.phaseTable = inputs["phaseTable"]
else:
self.phaseTable = None
if "maxent" in inputs:
self.maxent = inputs["maxent"]
else:
self.maxent = None
self.phaseTable = inputs.get("phaseTable",None)
self.maxent = inputs.get("maxent",None)
self.model.setRun(inputs["Run"])
def execute(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment