Skip to content

Commit

Permalink
Accept case-insensitive .bnet header.
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed Dec 13, 2023
1 parent 061d396 commit c32540b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_impl_boolean_network_from_bnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl BooleanNetwork {
for line in model_string.lines() {
if line.trim().starts_with('#')
|| line.trim().is_empty()
|| line.trim().starts_with("targets,")
|| line.trim().to_ascii_lowercase().starts_with("targets,")
{
continue; // Skip comments, empty lines and header.
} else {
Expand Down

0 comments on commit c32540b

Please sign in to comment.