Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :

Commit 74db4e98 authored by Mathieu Giraud's avatar Mathieu Giraud

buildBrowserGermline.py: output js file

This reverts 7ed4fb29, and further adds 'germline_data =' for the second part.
germlines.data is json, ../browser/js/germline.js should be js.
parent 7e265306
......@@ -3,7 +3,7 @@ import sys
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 files> [JSON/DATA germline file] [JSON output file]" % sys.argv[0])
input_name = sys.argv[1]
output_name = ""
......@@ -52,8 +52,10 @@ for i in range(1, len(sys.argv)-2) :
if output_name != "":
with open(output_name, "w") as file :
file.write("germline = ")
json.dump(table, file, indent=2, sort_keys=True)
data = open(data_file, "r")
file.write( "\n\n" )
file.write("germline_data = ")
file.write( data.read() )
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