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

Watch the catalog file #207

Open
1 task
aulemahal opened this issue May 30, 2023 · 0 comments
Open
1 task

Watch the catalog file #207

aulemahal opened this issue May 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aulemahal
Copy link
Collaborator

aulemahal commented May 30, 2023

Addressing a Problem?

The current catalog tools will load the whole CSV into memory and sometimes update it. If another process edits the CSV, this is not captured, leading to potentially corrupted catalogs, or simply lost lines.

Potential Solution

Could we make the ProjectCatalog self-aware with something like watchdog ? The object would automatically update if the CSV changes. Conversely, it should automatically update the CSV each time the DataFrame is updated.

Additional context

(We are converging towards a real database here, Christian was right all this time. Damn scientists acting like programmers.)

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.
@aulemahal aulemahal added the enhancement New feature or request label May 30, 2023
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

No branches or pull requests

1 participant