Skip to content

Commit

Permalink
Merge pull request #2 from mdp0023/working
Browse files Browse the repository at this point in the history
cleaned up import methodology
  • Loading branch information
mdp0023 authored Apr 15, 2024
2 parents cbde6c3 + c8cd904 commit 2f30a8b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion SVInsight/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__= "0.2.7"

from . import svi
from SVInsight.svi import SVInsight
Binary file modified SVInsight/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
3 changes: 0 additions & 3 deletions SVInsight/svi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,3 @@ def _fill_holes(self, data_df, boundary, geoids, api_key, year, interpolate, ver



# Initialize an instance of SVInsight
def project(project_name: str, file_path: str, api_key: str, geoids: list[str]):
return SVInsight(project_name, file_path, api_key, geoids)
8 changes: 5 additions & 3 deletions examples/svinsight_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
sys.path.append('/Users/matthewpreisser/Documents/Research/Codes/SVInsight')


from SVInsight import svi
import os
# from SVInsight import svi
# import os

aoi = svi.project()

from SVInsight import SVInsight as svi
svi()



Expand Down

0 comments on commit 2f30a8b

Please sign in to comment.