Closed wanyuac closed 2 years ago
Hi @wanyuac - there's a problem with getting the CSV path in the visualise script it seems - I would recommend providing the full path to the CSV with the --previous-clustering
flag at the moment, and I'll put in a fix soon.
Thank you @nickjcroucher so much for solving my problem.
Fixed in e9d04e7.
Versions poppunk v2.4.0
Command used and output returned
poppunk_visualise --ref-db database --model-dir database/model/dbscan_D7_refine --microreact --info-csv heatmap_data_20210803.csv --output microreact/heatmap_dbscan_D7_refine_20210803 --threads 4
Describe the bug When a long path was given to the argument
--model-dir
, an error arose:FileNotFoundError: [Errno 2] No such file or directory: 'dbscan_D7_refine/dbscan_D7_refine_clusters.csv'
. The script finished correctly aftercd
todatabase/model
. In other words, commandpoppunk_visualise --ref-db database --model-dir dbscan_D7_refine --microreact --info-csv heatmap_data_20210803.csv --output microreact/heatmap_dbscan_D7_refine_20210803 --threads 4
worked for me.My file structure: $Home ---- database/ -------- database.h5 -------- model/ ------------- dbscan_D7_refine/ ----------------- dbscan_D7_refine_clusters.csv
Complete error message:
Best wishes