Skip to content

Commit

Permalink
fixed helix roll relax algorithm to ignore intra-helix crossovers and…
Browse files Browse the repository at this point in the history
… inter-group crossovers
  • Loading branch information
dave-doty committed Aug 24, 2023
1 parent dbdf509 commit 663f28c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/reducers/helices_reducer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ BuiltMap<int, Helix> relax_helix_rolls_reducer(
var new_helices_map = helices.toMap();
for (var helix_idx in helix_idxs_to_relax) {
var helix = new_helices_map[helix_idx];
var crossover_addresses = state.design.helix_to_crossover_addresses[helix_idx];
var crossover_addresses =
state.design.helix_to_crossover_addresses_disallow_intrahelix_disallow_intergroup[helix_idx];
var helix_relaxed = helix.relax_roll(helices, crossover_addresses);
new_helices_map[helix_idx] = helix_relaxed;
}
Expand Down

0 comments on commit 663f28c

Please sign in to comment.