8000 Stripping file names in all-vs-all comparision on first dot · Issue #1 · 4DNucleome/tad_compare · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Stripping file names in all-vs-all comparision on first dot #1
Open
@mkadlof

Description

@mkadlof

In report for all-vs-all comparison filenames are used as label. However label is stripped on first dot.

For example:
chr8_all_interactions_res0.0328_ccds_202.bed

is stripped to:

chr8_all_interactions_res0

instead of:
chr8_all_interactions_res0.0328_ccds_202

Bug is probably in

names.append(path.basename(set).split('.')[0])

Consider using this:
https://docs.python.org/3.7/library/os.path.html#os.path.splitext

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0