Skip to content
Snippets Groups Projects
Commit 6ee926c6 authored by Jammer, Tim's avatar Jammer, Tim
Browse files

fix to use new level

parent bc152dc2
No related branches found
No related tags found
No related merge requests found
......@@ -184,12 +184,12 @@ class InvalidComErrorColl(ErrorGenerator):
for f in self.functions_to_use:
for comm in predefined_comms + comm_creators + intercomms:
for i, t1 in enumerate(types):
if generate_level == REAL_WORLD_TEST_LEVEL and not is_combination_important(real_world_score_table,
if generate_level in REAL_WORLD_FILTERING_LEVELS and not is_combination_important(real_world_score_table,
f, datatype=t1.lower(),
communicator=comm):
continue
for t2 in types[i:]:
if generate_level == REAL_WORLD_TEST_LEVEL and not is_combination_important(
if generate_level in REAL_WORLD_FILTERING_LEVELS and not is_combination_important(
real_world_score_table, f, datatype=t2.lower(), communicator=comm):
continue
if is_combination_compatible(t1, t2, f):
......
......@@ -31,7 +31,7 @@ if __name__ == "__main__":
gencodes_dir = ARGS.outpath
score_table = None
if ARGS.level == REAL_WORLD_TEST_LEVEL:
if ARGS.level in REAL_WORLD_FILTERING_LEVELS:
print("Read real world dataset and build scoring table")
score_table = get_scoring_table(pd.read_csv(ARGS.real_world_data, header=0, low_memory=False), c_only=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment