Esempio n. 1
0
def compose( the_scripts, the_script_args, the_sequence_file ) :
    import cloudflu.common as common
    
    a_compose = ""
    if the_scripts != None :
        a_compose += " --script-file='%s'" % common.print_args( the_scripts, common.arg_list_separator() )
        a_compose += " --script-args='%s'" % common.print_args( the_script_args, common.arg_list_separator() )
        pass
    
    if the_sequence_file != None :
        a_compose = " --sequence-file='%s'" % the_sequence_file
        pass

    return a_compose
def compose( the_located_files, the_output_dir, the_fresh, the_wait, the_remove ) :
    a_compose = ''

    if the_output_dir != None :
        a_compose += " --output-dir='%s'" % the_output_dir
        pass

    if the_located_files != None :
        from cloudflu import common
        a_compose += " --located-files='%s'" % common.print_args( the_located_files, common.arg_list_separator() )
        pass

    if the_fresh == True :
        a_compose += " --fresh"
        pass
        
    if the_wait == True :
        a_compose += " --wait"
        pass
        
    if the_remove == True :
        a_compose += " --remove"
        pass
        
    return a_compose
def compose(the_cluster_ids):
    import cloudflu.common as common

    return common.print_args(the_cluster_ids, " ")
def compose( the_study_names ) :
    import cloudflu.common as common

    return common.print_args( the_study_names, ' ' )
def compose( the_located_files ) :
    if the_located_files != None :
        from cloudflu import common
        return " --located-files='%s'" % common.print_args( the_located_files, common.arg_list_separator() )

    return ''