Skip to content

Commit

Permalink
Query sample_id
Browse files Browse the repository at this point in the history
In my interpretation sample is the qubit/parameter name
  • Loading branch information
Diego Ristè committed Oct 3, 2019
1 parent 1ff55ef commit a9ec6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/ChannelLibraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def ls(self):
def cal_ls(self):
''' List of auspex.pulse_calibration results '''
caldb = bbndb.calibration.Calibration
c = self.session.query(caldb.id, caldb.name, caldb.value, caldb.date).order_by(-Channels.ChannelDatabase.id).all()
c = self.session.query(caldb.sample_id, caldb.name, caldb.value, caldb.date).order_by(-Channels.ChannelDatabase.id).all()
table_code = ""
for i, (id, sample_id, name, value, time) in enumerate(c):
d,t = str(time).split()
Expand Down

0 comments on commit a9ec6f5

Please sign in to comment.