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

Add method to reload dataset schema #5

Merged
merged 3 commits into from
Nov 22, 2022
Merged

Add method to reload dataset schema #5

merged 3 commits into from
Nov 22, 2022

Conversation

bruno-f-cruz
Copy link
Collaborator

@bruno-f-cruz bruno-f-cruz commented Nov 22, 2022

Closes #4
Adds the method to Dataset class to reload ( dataset.reload_streams() ) all the streams in the schema.
Eg.:

stream_root_folder = r"path"
dataset = Dataset(stream_root_folder, datasetlabel='label', georeference= Georeference())

dataset.populate_streams(autoload = False)
dataset.streams.UBX.autoload=True
dataset.reload_streams(force_load=False)
dataset.export_streams()

@bruno-f-cruz bruno-f-cruz linked an issue Nov 22, 2022 that may be closed by this pull request
@bruno-f-cruz bruno-f-cruz merged commit 5ad7394 into main Nov 22, 2022
@bruno-f-cruz bruno-f-cruz deleted the re-load-schema branch November 22, 2022 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add method to reload the full schema
1 participant