Skip to content

Commit 62e31fe

Browse files
committed
Merge branch 'QPR-12433-2' into 'master'
QPR-12433 call run to get inputs See merge request qs/oreswig!64
2 parents ee696ac + f2a882b commit 62e31fe

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)