nomatrim does not work with stylesheet html?

15 views
Skip to first unread message

Eelco Tromer

unread,
Mar 1, 2017, 10:22:58 AM3/1/17
to MEME Suite Q&A
dear all,

I have been using the option -nomatrim with the commandline version of MEME but somehow the XML to HTML conversion does not like this and I would really want to be able to have a look at the HTML file.

Here you can see the error that is reported by MEME - it seems to be something with the lib to do the XML to HTML conversion

Use of uninitialized value $value in concatenation (.) or string at /home/*/local/lib/perl/JsonWr.pm line 147, <$fh> line 298.
Value  is not a number! at /home/*/local/lib/perl/JsonWr.pm line 147, <$fh> line 298.
    JsonWr::num_value(JsonWr=HASH(0x1679b98), undef, "ALLOW_INF", 0) called at /home/*/local/lib/perl/JsonWr.pm line 237
    JsonWr::num_prop(JsonWr=HASH(0x1679b98), "wg", undef) called at /home/*/local/bin/meme_xml_to_html line 207
    main::handle_settings(HASH(0x20ed020), "spfuzz", 120, "nmotifs", 5, "maxwords", -1, "substring", 1, ...) called at /home/*/local/lib/perl/CheckingSAX.pm line 296
    CheckingSAX::_call(MemeSAX=HASH(0x2105f28), "handle_settings", "spfuzz", 120, "nmotifs", 5, "maxwords", -1, "substring", ...) called at /home/*/local/lib/perl/MemeSAX.pm line 367
    MemeSAX::_call_handle_settings(MemeSAX=HASH(0x2105f28)) called at /home/*/local/lib/perl/CheckingSAX.pm line 250
    CheckingSAX::_handle_end(MemeSAX=HASH(0x2105f28), XML::Parser::ExpatNB=HASH(0x1f274b8), "model") called at /home/*/local/lib/perl/CheckingSAX.pm line 78
    CheckingSAX::__ANON__(XML::Parser::ExpatNB=HASH(0x1f274b8), "model") called at /usr/lib/x86_64-linux-gnu/perl5/5.22/XML/Parser/Expat.pm line 621
    XML::Parser::ExpatNB::parse_more(XML::Parser::ExpatNB=HASH(0x1f274b8), "</model>\x{a}") called at /home/*/local/lib/perl/CheckingSAX.pm line 46
    CheckingSAX::parse_more(MemeSAX=HASH(0x2105f28), "</model>\x{a}") called at /home/*/local/bin/meme_xml_to_html line 427
    main::transform_data(HASH(0x16797f0), JsonWr=HASH(0x1679b98)) called at /home/*/local/bin/meme_xml_to_html line 449
    main::main() called at /home/*/local/bin/meme_xml_to_html line 454
Warning: meme_xml_to_html exited abnormally and may have failed to create HTML output.

best,
Eelco
Reply all
Reply to author
Forward
0 new messages