Updated example notebook and changed default value of return_names in write_mg_library to False and updated the docstring accordingly.

This commit is contained in:
Adam Nelson 2016-05-12 21:34:03 -04:00
parent e8e5ccd1ad
commit e9fc744ba5
2 changed files with 997 additions and 430 deletions

File diff suppressed because one or more lines are too long

View file

@ -724,7 +724,7 @@ class Library(object):
def write_mg_library(self, xs_type='macro', domain_names=None, xs_ids=None,
filename='mg_cross_sections', directory='./',
return_names=True):
return_names=False):
"""Creates a cross-section data library file for the Multi-Group
mode of OpenMC.
@ -749,7 +749,7 @@ class Library(object):
return_names : bool
Flag to indicate if the user would like the names of the
materials generated by this function returned with completion.
Defaults to True.
Defaults to False, indicating that no names will be returned.
Returns
-------