Skip to content

Commit

Permalink
Removing code marking fields with read access if they're loaded throu…
Browse files Browse the repository at this point in the history
…gh densities
  • Loading branch information
llaniewski committed Aug 28, 2023
1 parent 2a9bf77 commit ecf0eee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/conf.R
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,9 @@ AddStage = function(name, main=name, load.densities=FALSE, save.fields=FALSE, re

sel = selection(DensityAll, load.densities)
DensityAll[, s$loadtag] <<- sel
loaded.fields = Fields$name %in% DensityAll$field[sel]
sel = selection(Fields, save.fields)
Fields[, s$savetag] <<- sel
sel = selection(Fields, read.fields)
sel[loaded.fields & is.na(sel)] = TRUE
if (! all(sel[loaded.fields])) stop("Not all fields loaded through densities are accessible in stage", s$name)
Fields[, s$readtag] <<- sel
}

Expand Down

0 comments on commit ecf0eee

Please sign in to comment.