Skip to content

Commit f3e8c0e

Browse files
authored
Update workflow.py
1 parent 1000566 commit f3e8c0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example_workflows/nfdi/workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ def _poisson_collect_output(numdofs_file: str) -> int:
124124
return int(f.read())
125125

126126

127-
def _copy_file(stage_name, source_file):
127+
def _copy_file(stage_name: str, source_file: str):
128128
input_file = os.path.join(os.path.abspath(stage_name), os.path.basename(source_file))
129129
if input_file != source_file:
130130
shutil.copyfile(source_file, input_file)
131131

132132

133-
def _copy_file_from_source(stage_name, source_file_name, source_directory: str = source_directory_global):
133+
def _copy_file_from_source(stage_name: str, source_file_name: str, source_directory: str):
134134
source_file = os.path.join(source_directory, source_file_name)
135135
shutil.copyfile(source_file, os.path.join(stage_name, source_file_name))

0 commit comments

Comments
 (0)