Skip to content

Commit 2946859

Browse files
committed
Drop no-longer-used map SelectedVariable attribute
1 parent 56aa671 commit 2946859

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

khiops/core/analysis_results.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,6 @@ def __init__(self, json_data=None):
31393139
self.level = json_data.get("level", "")
31403140
self.weight = json_data.get("weight")
31413141
self.importance = json_data.get("importance")
3142-
self.map = json_data.get("map")
31433142

31443143
def to_json(self):
31453144
report = {
@@ -3169,8 +3168,6 @@ def write_report_header_line(self, writer):
31693168
writer.write("\tWeight")
31703169
if self.importance is not None:
31713170
writer.write("\tImportance")
3172-
if self.map is not None:
3173-
writer.write("\tMAP")
31743171
writer.writeln("")
31753172

31763173
def write_report_line(self, writer):
@@ -3187,8 +3184,6 @@ def write_report_line(self, writer):
31873184
writer.write(f"\t{self.weight}")
31883185
if self.importance is not None:
31893186
writer.write(f"\t{self.importance}")
3190-
elif self.map is not None:
3191-
writer.write("\t1")
31923187

31933188
writer.writeln("")
31943189

0 commit comments

Comments
 (0)