Skip to content

Commit efaa35a

Browse files
committed
DEV: minor fixes
1 parent 6801bfa commit efaa35a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/agtools/assemblers/_contig_graph_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def get_graph_edges(
5151

5252
while line != "":
5353
# Identify lines with link information
54-
if "L" in line:
54+
tag = line[0]
55+
if tag == "L":
5556
lcount += 1
5657
strings = line.split("\t")
5758
source = segment_name_to_id[strings[1]]

src/agtools/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def filter(ctx, graph, min_length, output):
160160
"-f",
161161
help="path to the FASTA file",
162162
type=click.Path(exists=True),
163-
required=False,
163+
required=True,
164164
)
165165
@click.option(
166166
"--assembler",

0 commit comments

Comments
 (0)