Skip to content

Conversation

@raimund-schluessler
Copy link
Contributor

Currently the files loaded by bmlab are locked until Impose is quit. Since we only need them once to load the data, this PR fixes this.

@raimund-schluessler raimund-schluessler added the bug Something isn't working label May 13, 2022
@paulmueller
Copy link
Member

What happens if multiple bmlab files are opened? Is everything always copied into memory?

@raimund-schluessler raimund-schluessler force-pushed the fix/noid/close-bmlab-files branch from a75c959 to f4dd3fc Compare May 13, 2022 10:12
@raimund-schluessler
Copy link
Contributor Author

raimund-schluessler commented May 13, 2022

What happens if multiple bmlab files are opened?

Currently, if multiple bmlab files are opened, multiple sessions are created and all loaded files are still locked after the data was loaded.
With this change, they get unlocked after the data was loaded into memory.

Is everything always copied into memory?

Yes, in this regard fmt_bm_bmlab.py behaves just as the other format loaders. All data is copied into the Impose memory.

@paulmueller paulmueller merged commit ca4861c into main May 13, 2022
@raimund-schluessler raimund-schluessler deleted the fix/noid/close-bmlab-files branch May 13, 2022 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants