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!