From f5b4e25aa5771d0d2f515feacff53ba68b8f80e8 Mon Sep 17 00:00:00 2001 From: Duchateau Fabien <fabien.duchateau@univ-lyon1.fr> Date: Mon, 8 Apr 2019 19:24:13 +0200 Subject: [PATCH] minor update --- mongiris/tests/mongiris_tests.py | 5 +++-- pyproject.toml => pyproject-OLD.toml | 0 setup.cfg | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename pyproject.toml => pyproject-OLD.toml (100%) diff --git a/mongiris/tests/mongiris_tests.py b/mongiris/tests/mongiris_tests.py index 74f6095..81afb9c 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 00bc165..e040271 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 -- GitLab