Skip to content

Error in Generate HTML report #1

@marchettibruno

Description

@marchettibruno

I can input my data file and output the + _perf.tsv file. However, when I try to generate an HTML report using the "-a" command the fallowing message appears. I also tried to use the "-a" with the "test_data" files from the own "perf-master" folder, and the same message appears.

Command:
PERF -i test_input.fa -o test_input_perf.tsv -a

Result:

Generating HTML report. This may take a while..

Traceback (most recent call last):
File "C:\Users\zehla\Documents\perfmaster\PERF-script.py", line 11, in
load_entry_point('perf-ssr==0.4.5', 'console_scripts', 'PERF')()
File "C:\Users\zehla\Documents\perfmaster\PERF\core.py", line 151, in main
ssr_native(args, length_cutoff=args.min_length)
File "C:\Users\zehla\Documents\perfmaster\PERF\core.py", line 101, in ssr_native
fasta_ssrs(args, repeats_info)
File "C:\Users\zehla\Documents\perfmaster\PERF\rep_utils.py", line 235, in fasta_ssrs
analyse_fasta(args)
File "C:\Users\zehla\Documents\perfmaster\PERF\analyse.py", line 205, in analyse_fasta
writetoHTML(html_report, defaultInfo, repeat_options, 'fasta')
File "C:\Users\zehla\Documents\perfmaster\PERF\analyse.py", line 31, in writetoHTML
lodash_js = open('%s/lib/src/lodash.min.js' %(current_dir), 'r').read()
File "C:\Users\zehla\Documents\perfmaster\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 7378: character maps to

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions