Mercurial > repos > rmarenco > hubarchivecreator
diff util/subtools.py @ 24:fcc1021bd496 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 93e2e2fb59f99677425104a80c17f665fa7b2b4a-dirty
author | yating-l |
---|---|
date | Wed, 31 May 2017 11:35:16 -0400 |
parents | 884ee2a71680 |
children | 99dad5f9444c |
line wrap: on
line diff
--- a/util/subtools.py Tue May 09 15:42:43 2017 -0400 +++ b/util/subtools.py Wed May 31 11:35:16 2017 -0400 @@ -250,6 +250,8 @@ # See the "track" Common settings at: #https://genome.ucsc.edu/goldenpath/help/trackDb/trackDbHub.html#bigPsl_-_Pairwise_Alignments def fixName(filename): + if filename == 'cytoBandIdeo': + return filename valid_chars = "_%s%s" % (string.ascii_letters, string.digits) sanitize_name = ''.join([c if c in valid_chars else '_' for c in filename]) sanitize_name = "gonramp_" + sanitize_name