Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddomingof committed Apr 25, 2019
1 parent fd2520a commit 94e57a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pathme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,20 +386,20 @@ def universe(kegg_path, reactome_path, wikipathways_path, output, no_flatten, no
flatten=flatten,
normalize_names=normalize_names,
)
click.echo(f'Number of isolates after getting universe: {nx.number_of_isolates()}')
click.echo(f'Number of isolates after getting universe: {nx.number_of_isolates(universe_graph)}')

if flatten:
universe_graph.remove_nodes_from({
node
for node in universe_graph.nodes()
if isinstance(node, ComplexAbundance)
})
click.echo(f'Number of isolates after flattening: {nx.number_of_isolates()}')
click.echo(f'Number of isolates after flattening: {nx.number_of_isolates(universe_graph)}')

click.echo("Merging variants and genes")
collapse_all_variants(universe_graph)
collapse_to_genes(universe_graph)
click.echo(f'Number of isolates after collapsing variants and to genes: {nx.number_of_isolates()}')
click.echo(f'Number of isolates after collapsing variants and to genes: {nx.number_of_isolates(universe_graph)}')

universe_graph.name = 'PathMe Universe'

Expand Down

0 comments on commit 94e57a0

Please sign in to comment.