Revision fb99df25

View differences:

mrai_setter/mrai_setter.py
329 329

  
330 330
        G = nx.read_graphml(filename)
331 331
        strategyfy(G, strategy, adv_node)
332
        adapt_to_mean(G, mean_mrai)
332
        if float(mean_mrai) > 0:
333
            adapt_to_mean(G, mean_mrai)
333 334

  
334 335
        filePath = f"{strategy}_{filename}"
335 336
        if outDir is not None:

Also available in: Unified diff