Skip to content

Commit

Permalink
Merge pull request #92 from yardasol/patch-90
Browse files Browse the repository at this point in the history
Patch #90 (pep8 issues, docstring consistency)
  • Loading branch information
LukeSeifert authored Jan 10, 2022
2 parents ca9522c + 68cd200 commit a7559b2
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 114 deletions.
18 changes: 9 additions & 9 deletions saltproc/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def read_processes_from_input():
Returns
-------
mats : dict
mats : dict of str to Process
Dictionary that contains `Process` objects.
``key``
Expand Down Expand Up @@ -184,7 +184,7 @@ def read_feeds_from_input():
Returns
-------
mats : dict
mats : dict of str to Materialflow
Dictionary that contains `Materialflow` objects with feeds.
``key``
Expand Down Expand Up @@ -245,7 +245,7 @@ def reprocessing(mat):
Parameters
-----------
mats : dict
mats : dict of str to Materialflow
Dictionary that contains `Materialflow` objects with burnable material
data right after irradiation in the core.
Expand All @@ -256,13 +256,13 @@ def reprocessing(mat):
Returns
--------
waste : dict
waste : dict of str to Materialflow
``key``
Process name.
``value``
`Materialflow` object containing waste streams data.
extracted_mass: dict
extracted_mass: dict of str to Materialflow
``key``
Name of burnable material.
Expand Down Expand Up @@ -327,19 +327,19 @@ def refill(mat, extracted_mass, waste_dict):
Parameters
-----------
mat : dict
mat : dict of str to Materialflow
``key``
Name of burnable material.
``value``
`Materialflow` object after performing all removals.
extracted_mass: dict
extracted_mass: dict of str to float
``key``
Name of burnable material.
``value``
Mass removed as waste in reprocessing function for each material.
waste : dict
waste : dict of str to Materialflow
``key``
Process name.
Expand All @@ -348,7 +348,7 @@ def refill(mat, extracted_mass, waste_dict):
Returns
--------
dict
refilled_mats: dict of str to Materialflow
Dictionary that contains `Materialflow` objects.
``key``
Expand Down
Loading

0 comments on commit a7559b2

Please sign in to comment.