Skip to content
Snippets Groups Projects
Commit 838d7a22 authored by François  LAURENT's avatar François LAURENT
Browse files

bugfix for previous commit

parent 0b1d7b06
No related branches found
No related tags found
No related merge requests found
Pipeline #82624 passed
...@@ -270,9 +270,9 @@ function savetofile(controller, file; datafile=nothing) ...@@ -270,9 +270,9 @@ function savetofile(controller, file; datafile=nothing)
datafile = gethub(controller)[:input][] datafile = gethub(controller)[:input][]
end end
end end
datafilepath = isfile(datafile) ? datafile : joinpath(cwd(controller), datafile) deps = getdependencies(gethub(controller)[:input][])
deps = getdependencies(getinputfile(controller)[])
if isempty(deps) if isempty(deps)
datafilepath = isfile(datafile) ? datafile : joinpath(cwd(controller), datafile)
Datasets.pushdependency!(dataset, datafilepath) Datasets.pushdependency!(dataset, datafilepath)
else else
for dep in deps for dep in deps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment