Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit 84c76bf0 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

Merge branch 'feature-s/4171-parametres-flash' into 'dev'

Resolve "Adapter les paramètres de FLASH"

Closes #4171

See merge request !694
parents 39dd01f7 17de34f6
Pipeline #150016 passed with stages
in 7 minutes and 23 seconds
......@@ -24,6 +24,7 @@ args = parser.parse_args()
f_r1 = args.file_R1
f_r2 = args.file_R2
f_out = args.output_file
f_opt = args.flash2_options
paths = os.path.split(f_out)
path_head = paths[0]
......@@ -33,16 +34,21 @@ print( "###" )
print( "f_r1: %s" % f_r1)
print( "f_r2: %s" % f_r2)
print( "f_out: %s" % f_out)
print( "flash2 options: %s" % f_opt)
print( "path_head: %s" % path_head)
print( "path_file: %s" % path_file)
exit_code = subprocess.call(['%s/flash2' % args.flash2_dir,
cmd = ['%s/flash2' % args.flash2_dir,
f_r1, f_r2,
"-d", path_head,
"-o", path_file,
"-t", "1",
# + shlex.split(args.flash2_options)
])
]
cmd += shlex.split( f_opt )
print( "# %s" % cmd )
exit_code = subprocess.call( cmd )
if exit_code > 0:
raise EnvironmentError("Flash2 failed")
......
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