Skip to content

Commit

Permalink
Preparing test data
Browse files Browse the repository at this point in the history
  • Loading branch information
JoKra1 committed Mar 12, 2024
1 parent 75ffd18 commit fc69e22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_gamm.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from mssm.models import *
import numpy as np
import os

class Test_GAM:

dat = pd.read_csv("./test_gamm.csv")
dat = pd.read_csv(os.path.join(os.path.dirname(__file__), 'test_gamm.csv'))

# mssm requires that the data-type for variables used as factors is 'O'=object
dat = dat.astype({'series': 'O',
Expand Down Expand Up @@ -37,7 +38,7 @@ def test_GAMlam(self):

class Test_GAMM:

dat = pd.read_csv("./test_gamm.csv")
dat = pd.read_csv(os.path.join(os.path.dirname(__file__), 'test_gamm.csv'))

# mssm requires that the data-type for variables used as factors is 'O'=object
dat = dat.astype({'series': 'O',
Expand Down

0 comments on commit fc69e22

Please sign in to comment.