Skip to content

Commit d017674

Browse files
orso82JaeBeom1019TimSlendebroek
committed
remove leftover setup() calls in study
close #1006 Co-Authored-By: JaeBeom1019 <[email protected]> Co-Authored-By: Tim Slendebroek <[email protected]>
1 parent af95dea commit d017674

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

knowledge/how_to_use_fuse.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -894,9 +894,8 @@ sty.database_folder = "/path/to/database"
894894
sty.save_folder = "/path/to/results"
895895
sty.custom_tglf_models = ["sat3_em_d3d_azf-1_withnegD"]
896896

897-
# 2. Create and setup study
898-
study = FUSE.StudyTGLFdb(sty, act) # Automatically calls FUSE.setup()
899-
# OR manually setup: study = FUSE.setup(study)
897+
# 2. Create study
898+
study = FUSE.StudyTGLFdb(sty, act)
900899

901900
# 3. Import FUSE on all workers (required for distributed computing)
902901
@everywhere import FUSE

src/studies/database_generator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ end
4242
function StudyDatabaseGenerator(sty::ParametersStudy, ini::ParametersAllInits, act::ParametersAllActors; kw...)
4343
sty = OverrideParameters(sty; kw...)
4444
study = StudyDatabaseGenerator(sty, ini, act, missing, missing, missing)
45-
return setup(study)
45+
return study
4646
end
4747

4848
function StudyDatabaseGenerator(sty::ParametersStudy, inis::Vector{<:ParametersAllInits}, acts::Vector{<:ParametersAllActors}; kw...)

0 commit comments

Comments
 (0)