Skip to content

Commit 46c84f2

Browse files
seeing if update products is ok
1 parent ca711fd commit 46c84f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xga/sources/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,6 +2699,7 @@ def update_products(self, prod_obj: Union[BaseProduct, BaseAggregateProduct, Bas
26992699
elif extra_key is not None and obs_id == "combined":
27002700
if extra_key not in self._products[tel][obs_id][inst]:
27012701
self._products[tel][obs_id][inst][extra_key] = {}
2702+
print('this line should happen')
27022703
self._products[tel][obs_id][inst][extra_key][p_type] = po
27032704

27042705
elif extra_key is None and obs_id == "combined":
@@ -2918,6 +2919,7 @@ def update_products(self, prod_obj: Union[BaseProduct, BaseAggregateProduct, Bas
29182919
inven.to_csv(OUTPUT + "{t}/profiles/{n}/inventory.csv".format(t=tel, n=self.name), index=False)
29192920

29202921
elif isinstance(po, BaseProfile1D) and obs_id == 'combined' and update_inv:
2922+
print('in update products for baseprofile1D')
29212923
inven = pd.read_csv(OUTPUT + "{t}/profiles/{n}/inventory.csv".format(t=tel, n=self.name),
29222924
dtype=str)
29232925

0 commit comments

Comments
 (0)