pltrdy / files2rouge

Calculating ROUGE score between two files (line-by-line)
MIT License
190 stars 53 forks source link

TypeError: __init__() got an unexpected keyword argument 'log_level' #58

Open Muhammad5577 opened 1 year ago

Muhammad5577 commented 1 year ago

hello there, I have encountered the Error : TypeError: init() got an unexpected keyword argument 'log_level' , while trying to analyse some NanoPore seq data. i have implemented the steps presented in this thread , https://github.com/pltrdy/files2rouge/issues/7 . i have pyrouge 0.1.3 and ROUGE-1.5.5 is configured properly.

i am using this syntax in python 3 :
db = SampCompDB ( db_fn = "/media/shiberlab/My Passport/Analysis-MM/nanopolish/Analysis-MM/nanopolish/18.10.2022/outSampComp.db",fasta_fn = "/media/shiberlab/My Passport/Analysis-MM/nanopolish/GCF_000146045.2_R64_rna.fa",log_level="warning")

any ideas ?

LibertFan commented 1 year ago

Same problem.