In particular, events.py assumes that the drug2split is a 1dimensional array, numpy converts a scalar as a 0d array. This is mainly caused by the custom file format used by the parse_coverage_input which doesn't differentiate between a single element array and a scalar value
Similarly, configuration.py assumes each MDA contains a coverage array, but if there is a single entry then this will be converted as a scalar
In particular, events.py assumes that the drug2split is a 1dimensional array, numpy converts a scalar as a 0d array. This is mainly caused by the custom file format used by the parse_coverage_input which doesn't differentiate between a single element array and a scalar value
Similarly, configuration.py assumes each MDA contains a coverage array, but if there is a single entry then this will be converted as a scalar