Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • patch-1
2 results

Trigger after_Inflowrate _done.py

Blame
  • user avatar
    liukang authored
    modified the scripts to generate only two figures in folder figure of every factor-*,and corrected some scripts to avoid divided by zero
    467aa632
    History
    Trigger after_Inflowrate _done.py 485 B
    #!/usr/bin/env python3
    # -*- coding: utf-8 -*-
    """
    Created on Thu Apr 11 11:02:51 2019
    
    @author: administer
    """
    
    import subprocess
    import glob
    import os
    
    Factors=glob.glob('factor-*')
    for factor in Factors:
        #if factor == 'factor-stepsize':
            #pass
        #else:
        os.chdir(factor)
        print('os.getcwd()')
        print(factor)
            #Scripts=glob.glob('*.py')
            #for script in Scripts:
            
                #subprocess.call(["python", "%s"%script,])
    
        os.chdir('..')