Skip to content

Commit

Permalink
Dont forget to pass sample name to the job, if that is specified on t…
Browse files Browse the repository at this point in the history
…he file level
  • Loading branch information
glormph committed Apr 2, 2024
1 parent 03afaed commit f5d5d0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/analysis/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,9 +879,11 @@ def parse_isoquant(quants):
for fieldname, value in sample.items():
am.AnalysisFileValue.objects.update_or_create(defaults={'value': value},
field=fieldname, analysis=analysis, sfile_id=sfid)
# __sample etc is stored in special dicts, filefields is for dynamic only
# __sample etc is stored in filesamples, filefields is for dynamic only
if not fieldname.startswith('__'):
data_args['filefields'][sfid][fieldname] = value
elif fieldname == '__sample':
data_args['filesamples'][sfid] = value

# Store params
passedparams_exdelete = {**req['params']['flags'], **req['params']['inputparams'], **req['params']['multicheck']}
Expand Down

0 comments on commit f5d5d0d

Please sign in to comment.