Skip to content

Commit

Permalink
Loading data file in NSLX test
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovma committed Sep 20, 2024
1 parent 22af098 commit be61603
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spreg/tests/test_nslx.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

class TestNSLX(unittest.TestCase):
def setUp(self):
dfs = gpd.read_file(libpysal.examples.get_path('Chi-SDOH.shp'))
csdoh = libpysal.examples.load_example('chicagoSDOH')

dfs = gpd.read_file(csdoh.get_path('Chi-SDOH.shp'))
self.y = dfs[['HIS_ct']]
self.x = dfs[['Blk14P','Hisp14P','EP_NOHSDP']]
self.coords = dfs[["COORD_X","COORD_Y"]]
Expand Down

0 comments on commit be61603

Please sign in to comment.