Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Oct 9, 2023
1 parent 8c49133 commit 4133a2d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cdci_data_analysis/flask_app/dispatcher_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __init__(self, app,

self.app = app

temp_scratch_dir=None
temp_scratch_dir = None

self.set_sentry_sdk(getattr(self.app.config.get('conf'), 'sentry_url', None))

Expand Down Expand Up @@ -257,11 +257,6 @@ def __init__(self, app,
query_status = self.par_dic['query_status']
self.job_id = None
if query_status == 'new':
# this will overwrite any job_id provided, it should be validated or ignored
#if 'job_id' in self.par_dic:
# self.job_id = self.par_dic['job_id']
# self.validate_job_id()

# let's generate a temporary job_id used for the creation of the scratch_dir
self.generate_job_id()
else:
Expand Down

0 comments on commit 4133a2d

Please sign in to comment.