Skip to content
Snippets Groups Projects
Select Git revision
  • 77914cc667e8cf529490a41e4ec2bcc19365106c
  • main default protected
  • seed_variation_ruegen
  • cami_seed_variation
  • cami_restructured
  • camis
6 results

example_run.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    example_run.py 403 B
    #!/usr/bin/env python3
    import pwd
    import sys
    from os import chdir
    import subprocess
    
    
    chdir((sys.argv[0].rsplit('/', 1))[0])
    networkfile = "../data/input/networks/example_network.tsv"
    seedfile = "../data/input/seeds/example_seeds.txt"
    identifier = "example_run"
    command = f'./cami.py -n {networkfile} -s {seedfile} -id {identifier} -img -d -p --f -t diamond robust;'
    subprocess.call(command, shell=True)