Skip to content

Commit

Permalink
bugfix: Remove registration of measurement pulses
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuxiangCao committed Mar 29, 2024
1 parent 7d2a872 commit 85863fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
with:
path: main

- name: Checkout LabChronicle
uses: actions/checkout@v4
with:
repository: ShuxiangCao/LabChronicle

- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
Expand All @@ -26,6 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/ShuxiangCao/LabChronicle.git
pip install -r requirements.txt
pip install -e .
Expand Down
9 changes: 0 additions & 9 deletions leeq/core/elements/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@ def _build_lpb_collections(self):
parameters=collection_parameters,
)

for collection_name, collection_parameters in self._parameters["measurement_primitives"].items():
collection_name = "m" + collection_name
print(collection_parameters["type"])
self._lpb_collections[collection_name] = factory(
name=self._name + "." + collection_name,
class_name=collection_parameters["type"],
parameters=collection_parameters,
)

def _build_measurement_primitives(self):
"""
Initiate the measurement primitives of the element.
Expand Down

0 comments on commit 85863fa

Please sign in to comment.