Mercurial > repos > stevecassidy > alveoimport
comparison alveo_get_item_data.py @ 10:e2989a1d751d draft
planemo upload commit 063e049d569aeb45e1008cbf044f2dad850eca3d-dirty
author | stevecassidy |
---|---|
date | Wed, 07 Dec 2016 19:09:55 -0500 |
parents | 5a8d9ddabec4 |
children | be3fd14899a1 |
comparison
equal
deleted
inserted
replaced
9:2f4907372748 | 10:e2989a1d751d |
---|---|
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': itemname, 'ext': ext} | 49 fname = FNPAT % {'designation': fname, '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 """ |