allow ranges to be specified as sequences
formatting
Merge pull request #691 from ContinuumIO/range_simpler

allow ranges to be specified as sequences