Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • cami_restructured
  • cami_seed_variation
  • camis
  • main
  • seed_variation_ruegen
5 results

Target

Select target project
  • bay2046/cami
1 result
Select Git revision
  • cami_restructured
  • cami_seed_variation
  • camis
  • main
  • seed_variation_ruegen
5 results
Show changes
#!/usr/bin/env python3
import sys
from os.path import basename
import subprocess, random
import matplotlib.pyplot as plt
network = sys.argv[1]
seedfiles = sys.argv[2:]
config = 'seed_variationconf'
for seeds in seedfiles:
identifier = basename(seeds).rsplit('.')[0] + '_seedvar_different_consensus_approaches'
command = f'./cami.py -n {network} -s {seeds} -id {identifier} -conf {config} -var 5 -f -p;'
subprocess.call(command, shell=True)