Open jdcourcol opened 3 years ago
Did you get this warning message
in your logs?
@wvangeit , shall we:
I would be in favor of option 2, as jean-denis suggested.
As this shows, it looks like warnings should not be used, because nobody reads warnings. Maybe the safest way is to make it crash by default, and have a flags like remove_rows_with_empty_threshold / remove_rows_with_empty_holding. What do you think?
The only thing is, does it add an empty column, or no column at all? Maybe it would already be better to at least make sure an empty column is added?
Yes, this seems a good solution. Not sure which column you mean, w'll keep the same columns, but remove some rows, right?
@arnaudon did you take a decision ?
I'll implement what werner proposed!
it happens that the mecombo_emodel.tsv contains missing entries for threshold or holding current, leading to rows with 7 entries instead of 8 for instance. This is incompatible with what the simulator expects (it expects 8 values to be provided).
Probably it relates to that line: https://github.com/BlueBrain/BluePyMM/blob/1f87b5125d178a0a6d65672e612fefbca38ae65d/bluepymm/select_combos/megate_output.py#L94
We may consider to discard the cells from the output for instance.