This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
Skip trailing spaces while loading tsv file #84
Closed
Description
While loading mvd3 file in blueconfigs/hip-v6 test,
/gpfs/bbp.cscs.ch/project/proj42/circuits/rat.CA1/20180309/circuit.mvd3
/gpfs/bbp.cscs.ch/project/proj42/entities/emodels/20180216/mecombo_emodel.tsv
the tsv file contains spaces at the end of each line, leading to error in mvdtool.open_combo_tsv()
node_reader.open_combo_tsv(combo_file)
RuntimeError: Error in /gpfs/bbp.cscs.ch/project/proj42/entities/emodels/20180216/mecombo_emodel.tsv line 1: Unexpected 7 fields. Expecting 6 (Currents = 0) or 8
MVDTool
should protect this case and ignore spaces in tsv file.