Changeset 873 in lmdz_wrf for trunk


Ignore:
Timestamp:
Jun 18, 2016, 2:57:17 PM (8 years ago)
Author:
lfita
Message:

Fixing 'files_folder'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r864 r873  
    52885288#    ins = folder + "/" + headfile + "*"
    52895289    ins = folder + "/"
    5290     print 'ins:',ins
     5290#    print 'ins:',ins
    52915291    files = sub.Popen(["/bin/ls","-1",ins], stdout=sub.PIPE)
    52925292    fileslist = files.communicate()
    5293     listfiles0 = str(fileslist).split('\\n')
     5293    listfiles0 = str(fileslist).replace("'",'').replace('(','').replace(')','').split('\\n')
    52945294
    52955295# Filtering output
Note: See TracChangeset for help on using the changeset viewer.