Skip to content

Making preprocessing more efficient by reducing parsing instances - #306

Closed
eitan-weinstein wants to merge 3 commits into
svalinn:mainfrom
eitan-weinstein:improving_endf_parserpy_efficiency
Closed

Making preprocessing more efficient by reducing parsing instances#306
eitan-weinstein wants to merge 3 commits into
svalinn:mainfrom
eitan-weinstein:improving_endf_parserpy_efficiency

Conversation

@eitan-weinstein

Copy link
Copy Markdown
Contributor

Follows #305.

Following additional file parsing instance for continuous data extraction for plotting within preprocess_fendl3.store_results() from #305, this PR changes the function tendl_processing.parse_endf_file_level_data() to now be called tendl_processing.parse_endf_data(), with the major functional change being the return of the entire parsed nested dictionary. This creates a stored variable in memory, endf_dict that already contains all of the nuclear data from a single nuclide's TENDL file, without requiring that the file be parsed a second time for plotting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant