Skip to content

Commit

Permalink
underscore-prefix Merge. Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Jul 19, 2023
1 parent 2849513 commit 7e8b3cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/spyglass/lfp_band/lfp_band_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import pandas as pd

from spyglass.lfp_band.v1.lfp_band import LFPBandV1 # noqa F401
from spyglass.utils.dj_merge_tables import Merge
from spyglass.utils.dj_merge_tables import _Merge

schema = dj.schema("lfp_band_merge")


@schema
class LFPBandOutput(Merge):
class LFPBandOutput(_Merge):
definition = """
merge_id: uuid
---
Expand Down
2 changes: 1 addition & 1 deletion src/spyglass/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def base_dir() -> str:


def _set_env_with_dict(env_dict: dict):
"""Sets env vars from dict {str: Any} where Any is convertable to str."""
"""Sets env vars from dict {str: Any} where Any is convertible to str."""
env_to_set = {**env_defaults, **env_dict}
for var, val in env_to_set.items():
os.environ[var] = str(val)
Expand Down
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
import datajoint as dj

from .datajoint._config import DATAJOINT_SERVER_PORT
from .datajoint._datajoint_server import kill_datajoint_server, run_datajoint_server
from .datajoint._datajoint_server import (
kill_datajoint_server,
run_datajoint_server,
)

thisdir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(thisdir)
Expand Down

0 comments on commit 7e8b3cf

Please sign in to comment.