File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -199,8 +199,20 @@ def generate_biosample_set_from_gold_api_for_study(self) -> nmdc.Database:
199
199
if gbs .get ("biosampleGoldId" ) not in nmdc_gold_ids
200
200
]
201
201
202
+ # use the GOLD study id to fetch all sequencing project records associated with the study
203
+ gold_sequencing_projects_for_study = (
204
+ self .gold_api_client .fetch_projects_by_study (gold_study_id )
205
+ )
206
+
207
+ # use the GOLD study id to fetch all analysis project records associated with the study
208
+ gold_analysis_projects_for_study = (
209
+ self .gold_api_client .fetch_analysis_projects_by_study (gold_study_id )
210
+ )
211
+
202
212
gold_study_translator = GoldStudyTranslator (
203
213
biosamples = missing_gold_biosamples ,
214
+ projects = gold_sequencing_projects_for_study ,
215
+ analysis_projects = gold_analysis_projects_for_study ,
204
216
gold_nmdc_instrument_map_df = self .gold_nmdc_instrument_map_df ,
205
217
)
206
218
You can’t perform that action at this time.
0 commit comments