Skip to content

Commit

Permalink
chore: Poetry lock
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Jan 18, 2025
1 parent d79ebc6 commit 5ace71b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
url = "github:cachix/devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-python = {
url = "github:cachix/nixpkgs-python";
inputs = {nixpkgs.follows = "nixpkgs";};
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/qibolab/_core/instruments/qblox/ast_.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def asm(self, key_width: Optional[int] = None) -> str:
key = self.keyword()
if key_width is None:
key_width = len(key)
instr = f"{key:<{key_width+1}}"
instr = f"{key:<{key_width + 1}}"
return (instr + ",".join([str(a) for a in self.args])).strip()


Expand Down Expand Up @@ -734,7 +734,7 @@ def asm(
instr_name_width = len(self.instruction.keyword())
if instr_width is None:
instr_width = len(self.instruction.asm(instr_name_width))
code = f"{label:<{label_width+2}}{self.instruction.asm(instr_name_width):<{instr_width+1}}"
code = f"{label:<{label_width + 2}}{self.instruction.asm(instr_name_width):<{instr_width + 1}}"
if self.comment is None:
return code
comment = _format_comment(
Expand Down
2 changes: 1 addition & 1 deletion src/qibolab/_core/instruments/qblox/sequence/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def loops(sweepers: list[ParallelSweepers], nshots: int, inner_shots: bool) -> L
(
Register(number=i + first_sweeper),
iteration_length(parsweep),
f"{i+1}th sweeper",
f"{i + 1}th sweeper",
)
for i, parsweep in enumerate(sweepers)
]
Expand Down
4 changes: 3 additions & 1 deletion src/qibolab/_core/instruments/qblox/sequence/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def unwrap(pulse: PulseLike, output: bool) -> PulseLike:
return (
pulse
if not isinstance(pulse, Readout)
else pulse.probe if output else pulse.acquisition
else pulse.probe
if output
else pulse.acquisition
)

def unwrap_seq(seq: PulseSequence, output: bool) -> PulseSequence:
Expand Down

0 comments on commit 5ace71b

Please sign in to comment.