Skip to content

Commit

Permalink
Fix evol_pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Jan 12, 2024
1 parent 0451697 commit a49fca6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ekobox/evol_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ def evolve_pdfs(

# apply PDF to eko
evolved_PDF_list = []
q2block_per_nf = {}
with EKO.read(eko_path) as eko_output:
for initial_PDF in initial_PDF_list:
evolved_PDF_list.append(
apply.apply_pdf(eko_output, initial_PDF, targetgrid)
)

# separate by nf the evolgrid (and order per nf/q)
q2block_per_nf = regroup_evolgrid(eko_output.evolgrid) # pylint: disable=E1101

# update info file
if targetgrid is None:
targetgrid = operators_card.xgrid
Expand All @@ -80,9 +84,6 @@ def evolve_pdfs(
info_update=info_update,
)

# separate by nf the evolgrid (and order per nf/q)
q2block_per_nf = regroup_evolgrid(eko_output.evolgrid)

# write all replicas
all_member_blocks = []
for evolved_PDF in evolved_PDF_list:
Expand Down

0 comments on commit a49fca6

Please sign in to comment.