-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ dependencies: | |
- rtree>=1.1.0 | ||
- scipy>=1.11.3 | ||
- shapely>=2.0.2 | ||
- deprecated>=1.2.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from pyincore.analyses.socialvulnerability.socialvulnerability import SocialVulnerability |
19 changes: 19 additions & 0 deletions
19
pyincore/analyses/socialvulnerability/socialvulnerability.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Mozilla Public License v2.0 which accompanies this distribution, | ||
# and is available at https://www.mozilla.org/en-US/MPL/2.0/ | ||
|
||
from deprecated.sphinx import deprecated | ||
|
||
from pyincore.analyses.socialvulnerabilityscore import SocialVulnerabilityScore | ||
|
||
|
||
@deprecated(version='1.19.0', reason="This class will be deprecated soon. Use SocialVulnerabilityScore instead.") | ||
class SocialVulnerability(): | ||
def __init__(self, incore_client): | ||
self._delegate = SocialVulnerabilityScore(incore_client) | ||
|
||
def __getattr__(self, name): | ||
""" | ||
Delegate attribute access to the HousingValuationRecovery instance. | ||
""" | ||
return getattr(self._delegate, name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# Copyright (c) 2019 University of Illinois and others. All rights reserved. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Mozilla Public License v2.0 which accompanies this distribution, | ||
# and is available at https://www.mozilla.org/en-US/MPL/2.0/ | ||
|
||
|
||
from pyincore.analyses.socialvulnerabilityscore.socialvulnerabilityscore import SocialVulnerabilityScore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ shapely | |
pycodestyle | ||
pytest | ||
python-jose | ||
Deprecated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ requests>=2.31.0 | |
rtree>=1.1.0 | ||
scipy>=1.11.3 | ||
shapely>=2.0.2 | ||
Deprecated>=1.2.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ requests>=2.31.0 | |
rtree>=1.1.0 | ||
scipy>=1.11.3 | ||
shapely>=2.0.2 | ||
Deprecated>=1.2.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,7 @@ | |
'rtree>=1.1.0', | ||
'scipy>=1.11.3', | ||
'shapely>=2.0.2', | ||
'Deprecated>=1.2.14' | ||
], | ||
|
||
extras_require={ | ||
|