Skip to content

Commit

Permalink
fix wrong file handle
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashopf committed Dec 2, 2024
1 parent 84ffb16 commit 4a57dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evcouplings/align/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def modify_alignment(focus_ali, target_seq_index, target_seq_id, region_start, *
# save weights to file for reuse by plmc (one weight per line in text format)
if seq_weight_file is not None:
with open(seq_weight_file, "w") as f:
cut_ali.save_weights(seq_weight_file)
cut_ali.save_weights(f)

# add sequence weight file to outcfg to forward to couplings stage
if seq_weight_file is not None:
Expand Down

0 comments on commit 4a57dff

Please sign in to comment.