Closed WeinaJi closed 4 years ago
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()
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.
MVDTool
PR is merged
While loading mvd3 file in blueconfigs/hip-v6 test,
the tsv file contains spaces at the end of each line, leading to error in
mvdtool.open_combo_tsv()
MVDTool
should protect this case and ignore spaces in tsv file.