Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Oct 11, 2023
1 parent 170e722 commit b1f14b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/spyglass/common/common_device.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import datajoint as dj
import ndx_franklab_novela

from .errors import PopulateException
from ..utils.nwb_helper_fn import get_nwb_file

from .errors import PopulateException

schema = dj.schema("common_device")

Expand Down Expand Up @@ -133,7 +132,7 @@ def get_all_device_names(cls, nwbf, config) -> tuple:

@classmethod
def _add_device(cls, new_device_dict):
"""Ensure match betweent NWB file info & database entry.
"""Ensure match between NWB file info & database entry.
If no DataAcquisitionDevice with the given name exists in the database,
check whether the user wants to add a new entry instead of referencing
Expand Down
4 changes: 2 additions & 2 deletions src/spyglass/common/common_filter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# code to define filters that can be applied to continuous time data
from typing import Union
import warnings
from typing import Union

import datajoint as dj
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -256,7 +256,7 @@ def filter_data_nwb(
The NWB object ID of the filtered data and a list containing the
first and last timestamps.
"""
MEM_USE_LIMIT = 0.9 # % of RAM use permited
MEM_USE_LIMIT = 0.9 # % of RAM use permitted

gsp = _import_ghostipy()

Expand Down

0 comments on commit b1f14b8

Please sign in to comment.