Upgrade to use new graph-statistics command
"source": [
"if compute_pagerank:\n",
" !$kgtk graph-statistics -i \"$ITEMS\" -o $OUT/metadata.pagerank.directed.tsv.gz \\\n",
+ " --compute-pagerank True \\\n",
+ " --compute-hits False \\\n",
" --page-rank-property Pdirected_pagerank \\\n",
- " --hits False \\\n",
" --output-degrees True \\\n",
- " --pagerank --statistics-only \\\n",
- " --log $TEMP/metadata.pagerank.directed.summary.txt "
+ " --output-pagerank True \\\n",
+ " --output-hits False \\\n",
+ " --output-statistics-only \\\n",
+ " --undirected False \\\n",
+ " --log-file $TEMP/metadata.pagerank.directed.summary.txt "
]
},
{
"source": [
"if compute_pagerank:\n",
" !$kgtk graph-statistics -i \"$ITEMS\" -o $OUT/metadata.pagerank.undirected.tsv.gz \\\n",
+ " --compute-pagerank True \\\n",
+ " --compute-hits False \\\n",
" --page-rank-property Pundirected_pagerank \\\n",
- " --pagerank --statistics-only --undirected \\\n",
- " --hits False \\\n",
" --output-degrees True \\\n",
- " --log $TEMP/metadata.pagerank.undirected.summary.txt "
+ " --output-pagerank True \\\n",
+ " --output-hits False \\\n",
+ " --output-statistics-only \\\n",
+ " --undirected True \\\n",
+ " --log-file $TEMP/metadata.pagerank.undirected.summary.txt "
]
},
{
