Skip to content

Commit

Permalink
DOC: main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Mar 22, 2023
1 parent 12af3b5 commit c0e74a6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion metagenomescope/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ def make_viz(
# nbdf: bool,
# npdf: bool,
):
"""Creates a visualization."""
"""Creates a visualization.
Using MetagenomeScope's command-line interface will cause this function to
be called, but -- if you'd like to -- you can just call this yourself from
Python (e.g. if you want to procedurally create lots of visualizations).
"""
arg_utils.check_dir_existence(output_dir)
arg_utils.validate_max_counts(max_node_count, max_edge_count)

# Read the assembly graph file and create an object representing it.
asm_graph = graph_objects.AssemblyGraph(
input_file,
max_node_count=max_node_count,
Expand Down

0 comments on commit c0e74a6

Please sign in to comment.