Skip to content

Commit

Permalink
adding pulse_generator_constraints to the PredefinedGeneratorBase cla…
Browse files Browse the repository at this point in the history
…ss to have access to them in the custom predefined methods
  • Loading branch information
kay-jahnke committed Jan 14, 2020
1 parent 350d771 commit 54076fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions logic/pulsed/pulse_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,10 @@ def save_sequence(self):
def generation_parameters(self):
return self.__sequencegeneratorlogic.generation_parameters

@property
def pulse_generator_constraints(self):
return self.__sequencegeneratorlogic.pulse_generator_constraints

@property
def channel_set(self):
channels = self.pulse_generator_settings.get('activation_config')
Expand Down

0 comments on commit 54076fb

Please sign in to comment.