Skip to content

Commit

Permalink
fix database import
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-neurosc committed Sep 19, 2024
1 parent 96240c3 commit 37ea063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py_neuromodulation/stream/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def run(

# Open database connection
# TONI: we should give the user control over the save format
from py_neuromodulation.nm_database import NMDatabase
from py_neuromodulation.utils.database import NMDatabase

db = NMDatabase(experiment_name, out_dir) # Create output database

Expand Down
4 changes: 2 additions & 2 deletions tests/test_database.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from py_neuromodulation import nm_database
from py_neuromodulation.utils import database
import pandas as pd


def test_db_setup():
nm_db = nm_database.NMDatabase(
nm_db = database.NMDatabase(
name="test_db",
out_dir="test_data",
)
Expand Down

0 comments on commit 37ea063

Please sign in to comment.