diff --git a/run_sampler_on_scope.py b/run_sampler_on_scope.py index ae5b4f4..e058166 100755 --- a/run_sampler_on_scope.py +++ b/run_sampler_on_scope.py @@ -99,7 +99,7 @@ def __run_qpu(ising_qubo_collection, model_type, result_collection): solver_args = {} solver_args["annealing_time"] = int(input("annealing time (in us): ")) - solver_args["num_reads"] = int(input("number of reads per sample: ")) + solver_args["num_reads"] = int(input("number of reads per instance: ")) __run_on_scope(solver_input_query, db[result_collection], diff --git a/util/data_extraction.py b/util/data_extraction.py index 0c722be..3c0ab87 100644 --- a/util/data_extraction.py +++ b/util/data_extraction.py @@ -165,11 +165,10 @@ def extract_minisat_results(): idb = script.connect_to_instance_pool() scope = input("scope: ") - result_collection = input("result collection: ") table_name = input("table name: ") runs = queries.Minisat_run_scope_query_raw(idb) - runs.query(scope, result_collection) + runs.query(scope, "minisat_runs") insert_row = ("INSERT INTO {} " "(run_id, " diff --git a/util/script.py b/util/script.py index 43dce31..affcf43 100644 --- a/util/script.py +++ b/util/script.py @@ -186,7 +186,7 @@ def create_wmis_qubos_for_scope(db, scope): for instance, instance_id in instances: qubo = SAT2QUBO.WMISdictQUBO(instance) - write_qubo_to_pool_db(db["wmis_qubos_2"], qubo, instance_id) + write_qubo_to_pool_db(db["wmis_qubos"], qubo, instance_id) def create_wmis_2_qubos_for_scope(db, scope): instances = queries.Instance_scope_query(db)