Skip to content

Commit

Permalink
pass collapse vta properly
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zimmermann committed Feb 15, 2024
1 parent c93559c commit deb1f4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ossdbs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ def generate_point_models(settings: dict):
dir_par = settings["PointModel"]["Lattice"]["Direction"]
direction = dir_par["x[mm]"], dir_par["y[mm]"], dir_par["z[mm]"]
distance = settings["PointModel"]["Lattice"]["PointDistance[mm]"]
collapse_vta = settings["PointModel"]["Lattice"]["CollapseVTA"]

point_models.append(
Lattice(
Expand All @@ -261,7 +262,6 @@ def generate_point_models(settings: dict):
)
)


if settings["PointModel"]["VoxelLattice"]["Active"]:
_logger.info("from voxel lattice")
center_par = settings["PointModel"]["Lattice"]["Center"]
Expand Down Expand Up @@ -440,7 +440,7 @@ def run_volume_conductor_model(settings, volume_conductor):
point_models=point_models,
activation_threshold=settings["ActivationThresholdVTA"],
out_of_core=out_of_core,
export_frequency=export_frequency
export_frequency=export_frequency,
)
return vcm_timings

Expand Down

0 comments on commit deb1f4b

Please sign in to comment.