Skip to content

Cosmic database is not used by the pipeline #797

@TuongViDang

Description

@TuongViDang

Description of the bug

Hello,
I run the pipeline and the result of fusion-report omit Cosmic database. I later figured out that it is due to a bug in the source script of fusion-report (file cosmic.py). Could you fix and merge it please:
change from:

    return [
        "--".join(re.findall(r"\(.*?\)", x["fusion_pair"])).replace("(", "").replace(")", "")
        for x in res
   ]

to:
return [x["fusion_pair"] for x in res if x["fusion_pair"].strip() != ""]

Command used and terminal output

Relevant files

No response

System information

No response

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