diff --git a/mongiris/tests/mongiris_tests.py b/mongiris/tests/mongiris_tests.py index 74f609599fa8dbd40b06dd900839d5989e6c4529..81afb9c507a7fc32f934579998a943b68a67c0d4 100644 --- a/mongiris/tests/mongiris_tests.py +++ b/mongiris/tests/mongiris_tests.py @@ -43,7 +43,7 @@ class TestCase(unittest.TestCase): lat1 = 50.865983520113346 long2 = 2.607984899697411 lat2 = 50.98885556985259 - polygon = self.db.convert_geojson_box_to_polygon(long1, lat1, long2, lat2) + polygon = Mongiris.convert_geojson_box_to_polygon(long1, lat1, long2, lat2) cursor = self.db.geo_within(self.db.collection_iris, polygon) for doc in cursor: self.db.logger.info(str(doc["_id"]) + "\t" + doc["properties"]["NOM_IRIS"] + "\t" + doc["properties"]["CODE_IRIS"]) @@ -108,4 +108,5 @@ class TestCase(unittest.TestCase): if __name__ == "__main__": - unittest.main(verbosity=2) # run all tests with verbose mode \ No newline at end of file + unittest.main(verbosity=2) # run all tests with verbose mode + diff --git a/pyproject.toml b/pyproject-OLD.toml similarity index 100% rename from pyproject.toml rename to pyproject-OLD.toml diff --git a/setup.cfg b/setup.cfg index 00bc165c3bf84d5f46d48790a09e91972dc14af9..e04027172e6ee1e3bbcc1c695ef3e7b4a25cee0b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = mongiris -version = 0.3 +version = 0.32 description = This package is an interface for querying INSEE IRIS stored as documents in MongoDB. Requires loading the IRIS files into MongoDB prior to using this package. author = Fabien Duchateau author_email = fabien.duchateau@univ-lyon1.fr