Commit 61534bcb authored by Charlie's avatar Charlie

Added parenthesis to print for python3 compatibility on line 8 of...

Added parenthesis to print for python3 compatibility on line 8 of germline/buildBrowserGermline.py and lines 17 and 27 of germline/split-from-imgt.py.
parent d7de0606
......@@ -5,7 +5,7 @@ import time
if len(sys.argv) < 3:
print "Usage: %s <FASTA input file> [JSON/DATA germline file] [JSON output file]" % sys.argv[0]
print("Usage: %s <FASTA input file> [JSON/DATA germline file] [JSON output file]" % sys.argv[0])
sys.exit()
input_name = sys.argv[1]
output_name = ""
......@@ -59,4 +59,4 @@ if output_name != "":
data = open(data_file, "r")
file.write( "\n\n" )
file.write( data.read() )
\ No newline at end of file
file.write( data.read() )
......@@ -14,7 +14,7 @@ IMGT_LICENSE = '''
# Nucl. Acids Res., 29, 207-209 (2001). PMID: 11125093
'''
print IMGT_LICENSE
print (IMGT_LICENSE)
# Parse lines in IMGT/GENE-DB such as:
......@@ -24,7 +24,7 @@ open_files = {}
current_file = None
def verbose_open_w(name):
print " ==> %s" % name
print (" ==> %s" % name)
return open(name, 'w')
def get_split_files(seq, split_seq):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment