-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add pysal integration/import test #44
Conversation
sac1 = geopandas.read_file(sac1.get_path("sacramentot2.shp")) | ||
sac2 = geopandas.read_file(sac2.get_path("SacramentoMSA2.shp")) | ||
|
||
return sac1, sac2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this return the raster so tests have it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the functions just use the path, so all it needs to do is check whether a raster is available at that location and it will be available when necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is local_raster defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind - i see it :->
sac1 = geopandas.read_file(sac1.get_path("sacramentot2.shp")) | ||
sac2 = geopandas.read_file(sac2.get_path("SacramentoMSA2.shp")) | ||
|
||
return sac1, sac2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind - i see it :->
us os.path.join insted of hardcoded slash
during pysal metapackage integration, we only need to test that the packages import, so this adds a simple test that does so.
this means we can skip the actual (long running) tests during pysal integration, as they are already run on the subpackages