Skip to content

Commit 0d35110

Browse files
🎨 pre-commit fixes
1 parent 7c71602 commit 0d35110

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/scripts/MQT_COMPRESS_lev_all.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
fileslist.sort(key=lambda f: int(re.sub("\\D", "", f)))
4848

4949
for ix, _f in enumerate(fileslist):
50-
filename = fileslist[ix]
50+
filename = _f
5151
qc = QuantumCircuit.from_qasm_file(path + "/" + filename)
5252

5353
parsed_circ, numqubits = collect_instr(qc)

src/scripts/MQT_COMPRESS_lev_con.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
fileslist.sort(key=lambda f: int(re.sub("\\D", "", f)))
4848

4949
for ix, _f in enumerate(fileslist):
50-
filename = fileslist[ix]
50+
filename = _f
5151
qc = QuantumCircuit.from_qasm_file(path + "/" + filename)
5252

5353
parsed_circ, numqubits = collect_instr(qc)

0 commit comments

Comments
 (0)