Skip to content

Commit

Permalink
search the eload folder during QC
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Nov 5, 2024
1 parent fd5069d commit 58b0efd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eva_submission/submission_qc_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ def __init__(self, eload_number, config_object: EloadConfig = None):
self.project_accession = self.eload_cfg.query('brokering', 'ena', 'PROJECT')
self.path_to_data_dir = Path(cfg['projects_dir'], self.project_accession)
self.path_to_logs_dir = os.path.join(self.path_to_data_dir, '00_logs')
# If the project folder does not exist then it is located in the eload folder
if not os.path.exists(self.path_to_logs_dir):
self.path_to_logs_dir = os.path.join(self.eload_dir, '00_logs')
self.taxonomy = self.eload_cfg.query('submission', 'taxonomy_id')
self.analyses = self.eload_cfg.query('brokering', 'analyses')

Expand Down

0 comments on commit 58b0efd

Please sign in to comment.