We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1000566 commit f3e8c0eCopy full SHA for f3e8c0e
1 file changed
example_workflows/nfdi/workflow.py
@@ -124,12 +124,12 @@ def _poisson_collect_output(numdofs_file: str) -> int:
124
return int(f.read())
125
126
127
-def _copy_file(stage_name, source_file):
+def _copy_file(stage_name: str, source_file: str):
128
input_file = os.path.join(os.path.abspath(stage_name), os.path.basename(source_file))
129
if input_file != source_file:
130
shutil.copyfile(source_file, input_file)
131
132
133
-def _copy_file_from_source(stage_name, source_file_name, source_directory: str = source_directory_global):
+def _copy_file_from_source(stage_name: str, source_file_name: str, source_directory: str):
134
source_file = os.path.join(source_directory, source_file_name)
135
shutil.copyfile(source_file, os.path.join(stage_name, source_file_name))
0 commit comments