Skip to content

Commit

Permalink
Remove temporary fix now that tips up maps work again
Browse files Browse the repository at this point in the history
  • Loading branch information
ntouran committed Oct 11, 2021
1 parent e54c2c4 commit 85e85ec
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions armi/reactor/blueprints/gridBlueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,15 +597,6 @@ def saveToStream(stream, bluep, full=False, tryMap=False):

if aMap is not None:
gridDesign.gridContents = None
if not isinstance(aMap, asciimaps.AsciiMapHexFullTipsUp):
# this specific implementation of asciimap is broken, so we only
# attempt to use the other implementations. If hex, full, tips-up is
# being used we just preserve whatever was in the blueprints
# already. this is bad, but we can do away with it when #437 is
# fixed.
mapString = StringIO()
aMap.writeAscii(mapString)
gridDesign.latticeMap = mapString.getvalue()
gridDesign.latticeMap = scalarstring.LiteralScalarString(
gridDesign.latticeMap
)
Expand Down

0 comments on commit 85e85ec

Please sign in to comment.