Mercurial > repos > yating-l > jbrowsearchivecreator
comparison trackObject.py @ 12:b5d7748d1b7b draft
planemo upload for repository https://github.com/Yating-L/jbrowse-archive-creator.git commit ca6aeaf809d46a479638655ad11775f3d65c14f9-dirty
| author | yating-l | 
|---|---|
| date | Mon, 03 Jul 2017 12:25:43 -0400 | 
| parents | 8d1cf7ce65cd | 
| children | 671231da45f9 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 11:45b5cb50c29e | 12:b5d7748d1b7b | 
|---|---|
| 8 | 8 | 
| 9 | 9 | 
| 10 class trackObject: | 10 class trackObject: | 
| 11 def __init__(self, chrom_size, genome, extra_files_path): | 11 def __init__(self, chrom_size, genome, extra_files_path): | 
| 12 self.chrom_size = chrom_size | 12 self.chrom_size = chrom_size | 
| 13 outputDirect = os.path.join(extra_files_path, genome) | 13 outputDirect = os.path.join(extra_files_path, 'myHub') | 
| 14 self.raw_folder = os.path.join(outputDirect, 'raw') | 14 self.raw_folder = os.path.join(outputDirect, 'raw') | 
| 15 #Store metadata of the tracks | 15 #Store metadata of the tracks | 
| 16 self.tracks = [] | 16 self.tracks = [] | 
| 17 try: | 17 try: | 
| 18 if os.path.exists(self.raw_folder): | 18 if os.path.exists(self.raw_folder): | 
