Update openmc/mgxs/mgxs.py

Co-authored-by: Giud <guillaume.giudicelli@gmail.com>
This commit is contained in:
Miriam (Rathbun) Kreher 2020-07-31 08:22:00 -06:00 committed by GitHub
parent 187ef2edcc
commit 4e896ae06f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6239,7 +6239,7 @@ class MeshSurfaceMGXS(MGXS):
df = df[df['group out'].isin(groups)]
mesh_str = 'mesh {0}'.format(self.domain.id)
surfaces = df[(mesh_str,'surf')]
surfaces = df[(mesh_str, 'surf')]
df.drop(columns=[(mesh_str,'surf')],inplace=True)
df.insert(len(self.domain.dimension),(mesh_str,'surf'),surfaces)
if len(self.domain.dimension) == 1: