Skip to content

Commit

Permalink
Improve variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
opotowsky committed Aug 2, 2022
1 parent e5c46c7 commit 8e4d3ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions armi/cases/case.py
Expand Up @@ -716,7 +716,7 @@ def writeInputs(self, sourceDir: Optional[str] = None):


def copyInputsHelper(
label: str, fileFullPath: pathlib.Path, destPath: pathlib.Path
fileDescription: str, fileFullPath: pathlib.Path, destPath: pathlib.Path
) -> str:
"""
Expand All @@ -725,8 +725,8 @@ def copyInputsHelper(
Parameters
----------
label : str
CaseSettings key name
fileDescription : str
A file description for the copyOrWarn method
fileFullPath : pathlib.Path object
The absolute file path of the file to copy
Expand All @@ -741,7 +741,7 @@ def copyInputsHelper(

sourceName = os.path.basename(fileFullPath.name)
destFilePath = os.path.abspath(destPath / sourceName)
pathTools.copyOrWarn(label, fileFullPath, destFilePath)
pathTools.copyOrWarn(fileDescription, fileFullPath, destFilePath)
return destFilePath


Expand Down

0 comments on commit 8e4d3ca

Please sign in to comment.