Skip to content

Commit

Permalink
Added the assignment of the export file to the current tool so it can…
Browse files Browse the repository at this point in the history
… be called from scripts more cleanly.
  • Loading branch information
JamesVaughan committed Apr 15, 2019
1 parent 4fa3151 commit 3b51ead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TMGToolbox/src/input_output/export_binary_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def __call__(self, xtmf_MatrixType, xtmf_MatrixNumber, ExportFile, xtmf_Scenario
"4 for full matrices.")

self.MatrixId = self.MATRIX_TYPES[xtmf_MatrixType] + str(xtmf_MatrixNumber)
self.ExportFile = ExportFile
if _bank.matrix(self.MatrixId) is None:
raise IOError("Matrix %s does not exist." %self.MatrixId)

Expand Down

0 comments on commit 3b51ead

Please sign in to comment.