Mercurial > repos > tyty > structurefold
comparison predict/predict_RNAs.py @ 68:fb80870002a3 draft
Uploaded
| author | devteam |
|---|---|
| date | Fri, 21 Nov 2014 16:51:01 -0500 |
| parents | 96a827962750 |
| children | bd02fcf26f7a |
comparison
equal
deleted
inserted
replaced
| 67:96a827962750 | 68:fb80870002a3 |
|---|---|
| 82 subprocess.call(command) | 82 subprocess.call(command) |
| 83 else: | 83 else: |
| 84 print(id_s+" not in the data of sequences!") | 84 print(id_s+" not in the data of sequences!") |
| 85 | 85 |
| 86 #Remove the unnecessary files | 86 #Remove the unnecessary files |
| 87 tarball = tarfile.open(output_file, 'w:gz') | 87 tarball = tarfile.open(output_file, 'w:') |
| 88 for filename in os.listdir(output_directory): | 88 for filename in os.listdir(output_directory): |
| 89 filepath = os.path.join(output_directory, filename) | 89 filepath = os.path.join(output_directory, filename) |
| 90 print filepath | 90 print filepath |
| 91 tarball.add(filepath, arcname=filename) | 91 tarball.add(filepath, arcname=filename) |
| 92 print os.listdir(syspath) | 92 print os.listdir(syspath) |
