Commit d3530a2e authored by Pierre Donat-Bouillud's avatar Pierre Donat-Bouillud
Browse files

Pipeline handle dictionary woth slow effects

parent e0e6374e
Pipeline #1034 failed with stage
in 1 minute and 25 seconds
python3 -n 10 --draw -r --dir random-10-0-3-slow --tikz --slow
python3 -n 5 -d --dir exhaustive-5-slow --tikz --draw --slow
python3 --draw -z --tikz -n 4 --dir puredata-graphs-2-slow/ --slow
......@@ -45,6 +45,7 @@ gen_option.add_argument("-z", "--from-graphs", help="Use a set of already genera
parser.add_argument("--merge-resamplers", help="Merge resampler optmization", action="store_true")
parser.add_argument("--no-error", help="Continue in spite of errors", action="store_true")
parser.add_argument("--dir", help="Directory where to process")
parser.add_argument("--slow", help="Use a dictionnary with slow nodes", action="store_true")
parser.add_argument("--tikz", help="Save graphs in tikz format", action="store_true")
args = parser.parse_args()
......@@ -54,6 +55,8 @@ args = parser.parse_args()
graph_exec = "./target/release/audiograph"
graph_enum = "../ims-analysis/main.native"
nodes_dic = "../ims-analysis/"
if args.slow:
nodes_dic = "../ims-analysis/"
with open("pipeline.json", "r") as f:
print("Loading pipeline.json")
......@@ -1975,7 +1975,7 @@ impl Compressor {
pub fn from_node_infos(node_infos: &audiograph_parser::Node) -> Compressor {
let ratio = node_infos.more["ratio"]
.expect("ratio must be a float");
.expect("ratio must be a float >= 1");
let thresh = node_infos.more["thresh"]
.expect("thresh must be a float");
Supports Markdown
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