Skip to content

Commit

Permalink
Create decription dict
Browse files Browse the repository at this point in the history
This is used to detail the hardware used in test reports
  • Loading branch information
DavidLutton authored May 11, 2024
1 parent 193a96d commit 78b0b05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/labtoolkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ def __init__(self, *, resourcemanager, resources): # , ignores, additives, appen
self.driver_map()
# display(self.enumeration)
self.driver_load()


for index, instrument in self.enumeration.iterrows():
data = self.enumeration.iloc[index].drop(['IDN', 'inst'])
self.enumeration.iloc[index].inst.description = data.to_dict()

self.__post__()
# return self.enumeration

Expand Down

0 comments on commit 78b0b05

Please sign in to comment.