Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 2, 2024
1 parent 2f7085b commit c5849f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/dspeed/processing_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from dataclasses import dataclass
from typing import Any

import numpy as np
import lgdo
import numpy as np
from lgdo import LGDO, lh5
from numba import guvectorize, vectorize
from pint import Quantity, Unit
Expand Down Expand Up @@ -1417,7 +1417,9 @@ def __init__(
if param.is_const:
param = param.get_buffer(grid).reshape(arshape)
else:
param = param.get_buffer(grid).reshape(tuple([self.proc_chain._block_width] + arshape))
param = param.get_buffer(grid).reshape(
tuple([self.proc_chain._block_width] + arshape)
)

elif isinstance(param, str):
# Convert string into integer buffer if appropriate
Expand Down
2 changes: 1 addition & 1 deletion src/dspeed/vis/waveform_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
import sys

import lgdo
from lgdo.lh5 import LH5Iterator
import matplotlib.pyplot as plt
import numpy as np
import pandas
import pint
from cycler import cycler
from lgdo.lh5 import LH5Iterator
from matplotlib.lines import Line2D

from ..processing_chain import build_processing_chain
Expand Down

0 comments on commit c5849f0

Please sign in to comment.