Skip to content

Algorithme error with input output file handeling. #9

@4383

Description

@4383
  • mbin version: not tested or used
  • Python version: not tested or used
  • Operating System: not tested or used

Description

Hey,

You have an algorithm error here if user give the same file than the --input your file content will be erased before reading due to the fact that you open the same file in writing mode so the file will be replaced before you read it.
https://github.com/fanglab/mbin/blob/master/mbin/bhtsne.py#L102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions