mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Merge pull request #1913 from nelsonag/xsdir_fix
Fixed parsing of xsdir entries with a continuation line
This commit is contained in:
commit
f0aa6664b3
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ def get_libraries_from_xsdir(path):
|
|||
continue_lines = [i for i, line in enumerate(lines)
|
||||
if line.strip().endswith('+')]
|
||||
for i in reversed(continue_lines):
|
||||
lines[i] += lines[i].strip()[:-1] + lines.pop(i + 1)
|
||||
lines[i] = lines[i].strip()[:-1] + lines.pop(i + 1)
|
||||
|
||||
# Create list of ACE libraries -- we use an ordered dictionary while
|
||||
# building to get O(1) membership checks while retaining insertion order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue