Skip to content

Commit f2a882b

Browse files
author
Roland Lichters
committed
call run to get inputs
1 parent ee696ac commit f2a882b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

OREAnalytics-SWIG/Python/Examples/portfolio.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313

1414
print ("Build ORE App...")
1515
ore = OREApp(params)
16+
print ("Run ORE to build inputs...")
17+
ore.run()
1618
inputs = ore.getInputs()
1719

18-
print ("Get the portfolio from xml...")
20+
print ("Get the portfolio from xml...")
1921
portfolioFile = os.path.join("Input","portfolio.xml")
2022
portfolioXml = ET.parse(portfolioFile).getroot()
2123
portfolioXmlStr = ET.tostring(portfolioXml,encoding="unicode")

0 commit comments

Comments
 (0)