fusion-flap / flap

Fusion Library of Analysis Programs
MIT License
11 stars 5 forks source link

FLAP intervals #77

Closed thelampire closed 3 years ago

thelampire commented 4 years ago

I am kind of going cray when I need to expand the range input for slicing with the entire flap.Intervals(tme_range[0],time_range[1]) because a two element list is handled as separate values and not a range. I think a range happens a lot more often than two individual values as an input for slicing. At least I wanted to use the range input at least a thousand times and the two value input exactly zero times. Can't we change this? Like there could be a condition for two element lists and when one wants to use values, that could be flap.Values(time_range[0],time_range[1]). What do you think?

thelampire commented 3 years ago

This is a feature, not a bug. The code is being used like this ever since the beginning, this change shouldn't be made.