Update.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 16 Jul 2022 14:34:28 +0000 (16:34 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 16 Jul 2022 14:34:28 +0000 (16:34 +0200)
main.py
result_picoclvr_0007.png

diff --git a/main.py b/main.py
index 83c305b..3bf6b52 100755 (executable)
--- a/main.py
+++ b/main.py
@@ -201,7 +201,8 @@ class TaskPicoCLVR(Task):
                                      file_name, nrow = nb_per_primer, pad_value = 0.8)
         log_string(f'wrote {file_name}')
 
-        log_string(f'nb_misssing {picoclvr.nb_missing_properties(descr)}')
+        nb_missing = sum( [ x[2] for x in picoclvr.nb_missing_properties(descr) ] )
+        log_string(f'nb_missing {nb_missing / len(descr):.02f}')
 
 ######################################################################
 
index 569bfc3..7baee57 100644 (file)
Binary files a/result_picoclvr_0007.png and b/result_picoclvr_0007.png differ