mapreader 1.8.1.post0.dev5__py3-none-any.whl → 1.8.1.post0.dev15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mapreader/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-09-19T17:39:24+0100",
11
+ "date": "2025-12-19T16:13:11+0000",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "b47925e094a14daa6614cb41480a534abb4cd911",
15
- "version": "1.8.1.post0.dev5"
14
+ "full-revisionid": "a4d302f15a8d7d2ee06cfc30c86a5c2a735ba858",
15
+ "version": "1.8.1.post0.dev15"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -512,7 +512,12 @@ class Annotator:
512
512
  queue_df["eligible"] = queue_df.apply(check_eligibility, axis=1)
513
513
 
514
514
  if self._sortby is not None:
515
- queue_df.sort_values(self._sortby, ascending=self._ascending, inplace=True)
515
+ queue_df.sort_values(
516
+ by=[self._sortby, "min_y"],
517
+ ascending=[self._ascending, True],
518
+ kind="mergesort",
519
+ inplace=True,
520
+ )
516
521
  queue_df = queue_df[queue_df.eligible]
517
522
  else:
518
523
  queue_df = queue_df[queue_df.eligible].sample(frac=1) # shuffle
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapreader
3
- Version: 1.8.1.post0.dev5
3
+ Version: 1.8.1.post0.dev15
4
4
  Summary: A computer vision pipeline for the semantic exploration of maps/images at scale
5
5
  Home-page: https://github.com/Living-with-machines/MapReader
6
6
  Download-URL: https://github.com/Living-with-machines/MapReader/archive/refs/heads/main.zip
@@ -62,6 +62,7 @@ Requires-Dist: opencv-python<5.0.0.0,>=4.8.1.78
62
62
  Requires-Dist: folium<1.0.0,>=0.12
63
63
  Requires-Dist: mapclassify<3.0.0,>=2.0.0
64
64
  Requires-Dist: xyzservices==2024.9.0
65
+ Requires-Dist: piffle>=0.7.0
65
66
  Requires-Dist: lxml
66
67
  Provides-Extra: dev
67
68
  Requires-Dist: pytest<9.0.0; extra == "dev"
@@ -1,8 +1,8 @@
1
1
  mapreader/__init__.py,sha256=ztmWx0OCneJzlu2L1CP7NPwieGYv1kvARJJOUzq_6OQ,1720
2
2
  mapreader/__main__.py,sha256=hKOJEZkRPHZ-wwwz_RRR5OxMK5UilAfbQlq6k9icl_I,112
3
- mapreader/_version.py,sha256=G7648CkclDYS3V0rPPK68dWihKSh7Tkrsw1chI_hzP8,508
3
+ mapreader/_version.py,sha256=0NaJAFeMCaAILk10U8A72iiey6ZcICIAPW2XfP9aEes,509
4
4
  mapreader/annotate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- mapreader/annotate/annotator.py,sha256=durfdQpGFdR6Gp7QZSf5zN_arYDh7ut7qGfdFeng77c,37389
5
+ mapreader/annotate/annotator.py,sha256=x2K8yn2WXYOMTajgSQ-iXff4cIzUQHaYJUpw0S7AIzI,37508
6
6
  mapreader/classify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mapreader/classify/classifier.py,sha256=2Sss_brpLABXcV-u5EJVIlyhUbwFWjVd6PK3MzZy2YY,71153
8
8
  mapreader/classify/custom_models.py,sha256=1qwlpUjIIdD-syCt7CA-4HSNUfVAgISR-MPQI7taA-w,2170
@@ -34,9 +34,9 @@ mapreader/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  mapreader/utils/compute_and_save_stats.py,sha256=bOI6FfnzLWwtx8YOY-A7xN1mK1Thx7De-FANGJ2BNRY,979
35
35
  mapreader/utils/load_frames.py,sha256=o4QztKbf8FBs6cxDHtx-ypwIMZRf4px6q1aKD5kZLwI,3558
36
36
  mapreader/utils/slice_parallel.py,sha256=jXHYZ811IiKBPOKPI40IYeSA9RHC7evo61H44fbPXhI,1634
37
- mapreader-1.8.1.post0.dev5.dist-info/licenses/LICENSE,sha256=lZ12qYK_-T-58n5YueZUgyxZQpz4kJzGCJwAI9e2rXA,1215
38
- mapreader-1.8.1.post0.dev5.dist-info/METADATA,sha256=0h-ELHyk50nosfl7eg4n9A7kO100CSX6opyFuJNK-N0,15804
39
- mapreader-1.8.1.post0.dev5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- mapreader-1.8.1.post0.dev5.dist-info/entry_points.txt,sha256=oJAMoNzUMr-iGOli2-o2hlzYbyPPM_eVHQDFrijQvz8,54
41
- mapreader-1.8.1.post0.dev5.dist-info/top_level.txt,sha256=Z1DD0SVhh767afeDuV7blzVA6sYl0-71K81-ld4EbKY,10
42
- mapreader-1.8.1.post0.dev5.dist-info/RECORD,,
37
+ mapreader-1.8.1.post0.dev15.dist-info/licenses/LICENSE,sha256=lZ12qYK_-T-58n5YueZUgyxZQpz4kJzGCJwAI9e2rXA,1215
38
+ mapreader-1.8.1.post0.dev15.dist-info/METADATA,sha256=elBq40sWAO5evKjXbq70MqB5UVQE-bfX0RF2W7S0q-w,15834
39
+ mapreader-1.8.1.post0.dev15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ mapreader-1.8.1.post0.dev15.dist-info/entry_points.txt,sha256=oJAMoNzUMr-iGOli2-o2hlzYbyPPM_eVHQDFrijQvz8,54
41
+ mapreader-1.8.1.post0.dev15.dist-info/top_level.txt,sha256=Z1DD0SVhh767afeDuV7blzVA6sYl0-71K81-ld4EbKY,10
42
+ mapreader-1.8.1.post0.dev15.dist-info/RECORD,,