Commit 43824d40 authored by Marc Duez's avatar Marc Duez

model.js : debug loadAnalysis url

replace .vidjil with .analysis only for extension
parent b9b33b79
......@@ -192,7 +192,7 @@ Model.prototype = {
loadAnalysisUrl: function (url) {
var self = this;
var url2 = url.replace(".vidjil",".analysis");
var url2 = url.replace(new RegExp(".vidjil" + '$'), ".analysis")
var url_split = url2.split('/')
......
......@@ -796,7 +796,7 @@ def main():
group_options.add_argument('--compress', '-c', action='store_true', help='compress point names, removing common substrings')
group_options.add_argument('--pipeline', '-p', action='store_true', help='compress point names (internal Bonsai pipeline)')
group_options.add_argument('--output', '-o', type=str, default='fused.data', help='output file (%(default)s)')
group_options.add_argument('--output', '-o', type=str, default='fused.vidjil', help='output file (%(default)s)')
group_options.add_argument('--top', '-t', type=int, default=50, help='keep only clones in the top TOP of some point (%(default)s)')
parser.add_argument('file', nargs='+', help='''input files (.vidjil/.cnltab)''')
......
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