projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial port to python3
[htsworkflow.git]
/
htsworkflow
/
pipelines
/
srf2fastq.py
diff --git
a/htsworkflow/pipelines/srf2fastq.py
b/htsworkflow/pipelines/srf2fastq.py
index 0d895d9e4b18c8fbb968da470639df8808424339..4000fa092277d644c83d7ab588eee58f61ae8b8b 100644
(file)
--- a/
htsworkflow/pipelines/srf2fastq.py
+++ b/
htsworkflow/pipelines/srf2fastq.py
@@
-27,7
+27,7
@@
def main(cmdline=None):
logging.basicConfig(level=logging.WARN)
if opts.version:
logging.basicConfig(level=logging.WARN)
if opts.version:
- print
version(
)
+ print
(version()
)
return 0
if len(args) != 1:
return 0
if len(args) != 1:
@@
-241,7
+241,7
@@
def foo():
target2_name = base + '_r2.fastq'
for target_name in [target1_name, target2_name]:
target2_name = base + '_r2.fastq'
for target_name in [target1_name, target2_name]:
- print
'target name', target_name
+ print
('target name', target_name)
if os.path.exists(target_name):
raise RuntimeError("%s exists" % (target_name,))
if os.path.exists(target_name):
raise RuntimeError("%s exists" % (target_name,))