Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Sep 6, 2024
1 parent 2f0a36b commit 132f191
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions lib/src/view/design_main_strand_insertion.dart
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,17 @@ class DesignMainStrandInsertionComponent extends UiComponent2<DesignMainStrandIn
];

change_insertion_length() async {
int new_length = await ask_for_length(
'change insertion length',
current_length: props.insertion.length,
lower_bound: 1,
dialog_type: DialogType.set_insertion_length,
tooltip: """\
int new_length = await ask_for_length('change insertion length',
current_length: props.insertion.length,
lower_bound: 1,
dialog_type: DialogType.set_insertion_length,
tooltip: """\
Changes the insertion length.
Keep in mind that the insertion length is the number of *extra* bases.
So for example an insertion length of 1 would represent at that offset
2 total bases: the original base and the 1 extra base from the insertion.
"""
);
""");
if (new_length == props.insertion.length) {
return;
}
Expand Down

0 comments on commit 132f191

Please sign in to comment.