-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve speed/efficiency of dataframe_from_inp function #92
Labels
Comments
This was referenced Dec 5, 2020
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
dataframe_from_inp
(and similar functions) scan the text file twice to extract the content. First, by running theget_inp_sections_details
function, then by scanning to the section of interest.It might be possible to avoid the first scan through the of text file by using a pre-populated list of
end_strings
in theextract_section_of_file
function call, thereby possibly removing the need to runget_inp_sections_details
. This would be useful when dealing with large files and/or over a network.The text was updated successfully, but these errors were encountered: