Skip to content

Commit

Permalink
only add edges with distance < 1 to the full network table
Browse files Browse the repository at this point in the history
  • Loading branch information
CatarinaCarolina committed Dec 5, 2024
1 parent efba643 commit 5688551
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions big_scape/output/legacy_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ def write_network_file(
.where(edge_params_table.c.weights.in_(incl_weights))
.where(edge_params_table.c.alignment_mode == aln_mode)
.where(edge_params_table.c.extend_strategy == ext_strat)
.where(distance_table.c.distance < 1)
)

if cutoff is not None:
Expand Down

0 comments on commit 5688551

Please sign in to comment.