Skip to content
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

ENH: Update Read CSV Filter caching to handle modified files. #1078

Conversation

joeykleingers
Copy link
Contributor

@joeykleingers joeykleingers commented Sep 19, 2024

  • The filter now re-caches required data from the input file if the file has been modified.

@joeykleingers joeykleingers added the enhancement New feature or request label Sep 19, 2024
@joeykleingers joeykleingers changed the title ENH: Added file reloading to Read CSV Filter. ENH: Update Read CSV Filter caching to handle modified files. Sep 19, 2024
1. File path changes
2. File is modified
3. Headers mode is set to LINE and the header line has changed.

Signed-off-by: Joey Kleingers <[email protected]>
Signed-off-by: Joey Kleingers <[email protected]>
Signed-off-by: Joey Kleingers <[email protected]>
@imikejackson imikejackson force-pushed the topic/ReadCSVFilterReloading branch from 1274c7b to 2af9391 Compare September 23, 2024 14:15
@imikejackson imikejackson merged commit 92d6cd6 into BlueQuartzSoftware:develop Sep 23, 2024
7 checks passed
@imikejackson imikejackson deleted the topic/ReadCSVFilterReloading branch September 23, 2024 14:16
imikejackson pushed a commit to imikejackson/simplnx that referenced this pull request Oct 20, 2024
…artzSoftware#1078)

* Adjust filter to re-read the headers from the header line every time.
* Adjust the filter to only re-read the file when the following occurs:

1. File path changes
2. File is modified
3. Headers mode is set to LINE and the header line has changed.

---------

Signed-off-by: Joey Kleingers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants