comparison alveo_get_item_data.py @ 13:be3fd14899a1 draft

planemo upload commit e5d2a8ba1fcf33758cdc07e0a14e86427752c968-dirty
author stevecassidy
date Wed, 01 Feb 2017 22:34:24 -0500
parents e2989a1d751d
children a38315ecf593
comparison
equal deleted inserted replaced
12:c99e7f09ce12 13:be3fd14899a1
44 ext - defines the dataset type and is the file extension 44 ext - defines the dataset type and is the file extension
45 """ 45 """
46 46
47 root, ext = os.path.splitext(fname) 47 root, ext = os.path.splitext(fname)
48 ext = ext[1:] # remove initial . 48 ext = ext[1:] # remove initial .
49 fname = FNPAT % {'designation': fname, 'ext': ext} 49 fname = FNPAT % {'designation': root, 'ext': ext}
50 50
51 return fname 51 return fname
52 52
53 def download_documents(item_list, patterns, output_path): 53 def download_documents(item_list, patterns, output_path):
54 """ 54 """