Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.bio.base bob.bio.base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.bio.basebob.bio.base
  • Issues
  • #130
Closed
Open
Issue created Nov 14, 2017 by André Anjos@andre.anjos💬Owner

Functions in submodule `load` cannot handle identities or labels with spaces on them

The following score file, for example, cannot be correctly loaded:

id1 id1 name with spaces 1.0
id1 id2 another name with spaces 0.0

Inside the submodule load.py in this package, we use csv.read to read the file contents. Therefore, I was expecting the following change to work properly:

id1 id1 "name with spaces" 1.0
id1 id2 "another name with spaces" 0.0

However, that does not work either because of the way _estimate_score_file_format() works - i.e., by using another function to figure out the number of columns than csv.read.

If you have suggestions on how to correctly handle this, they are welcome!

Assignee
Assign to
Time tracking