Improve code style in writer.py
@@ -99,9 +99,8 @@ def write(
if STOP is None:
STOP = las.index[-1]
if STEP is None:
- if (
- STOP != STRT
- ): # prevents an error being thrown in the case of only a single sample being written
+ if STOP != STRT:
+ # prevents an error being thrown in the case of only a single sample being written
STEP = las.index[1] - las.index[0] # Faster than np.gradient
las.well["STRT"].value = STRT
