beat.backend.python merge requestshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests2020-07-01T15:59:38Zhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/77Pre commit cleanup2020-07-01T15:59:38ZSamuel GAISTPre commit cleanupThis merge request updates the pre-commit setup to match the one from beat/beat.editor> in terms of list of hooks to apply and provide the configuration of the new hooks as well.
Then all files have been passed through the full setup of...This merge request updates the pre-commit setup to match the one from beat/beat.editor> in terms of list of hooks to apply and provide the configuration of the new hooks as well.
Then all files have been passed through the full setup of hooks.
Commits have been split to have a grouped approach of the files having been cleaned.Soft loopshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/75Handle error the same way for all algorithm types on execution2020-07-08T15:29:37ZSamuel GAISTHandle error the same way for all algorithm types on executionCurrently sequential and autonomous algorithms are not treating
errors happening in the process method the same way. This result
in missing information coming back up through beat/beat.core>
This patch fixes this and also ensure that th...Currently sequential and autonomous algorithms are not treating
errors happening in the process method the same way. This result
in missing information coming back up through beat/beat.core>
This patch fixes this and also ensure that the outputs are
properly closed.
Fixes beat/beat.core#98Soft loopshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/74Add helper property to get the environment configured for the database2020-06-25T14:10:07ZSamuel GAISTAdd helper property to get the environment configured for the databaseThis merge request add a helper property to retrieve the environment requested for the database
Part of beat/beat.core#64This merge request add a helper property to retrieve the environment requested for the database
Part of beat/beat.core#64Soft loopsFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/72Update test execution environment to Python for tests2020-06-09T08:09:09ZSamuel GAISTUpdate test execution environment to Python for testsThis patch moves all the execution environment definition to the new one provided by beat/beat.env.builder>This patch moves all the execution environment definition to the new one provided by beat/beat.env.builder>Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/71Implement multiprocessing support for CachedDataSource2020-05-18T08:22:51ZSamuel GAISTImplement multiprocessing support for CachedDataSourceThis merge request implements support for pickling of DataLoader instances
and CachedDataSources.
This allows DataLoaders to be used in multiprocessing scenarios when the DataLoader instance is transferred using a queue.
Fixes #32This merge request implements support for pickling of DataLoader instances
and CachedDataSources.
This allows DataLoaders to be used in multiprocessing scenarios when the DataLoader instance is transferred using a queue.
Fixes #32Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/70Improve file name handling and removal in CachedDataSink2020-03-12T13:41:19ZSamuel GAISTImprove file name handling and removal in CachedDataSinkThis ensures that all files are tentatively removed.
It also adds warning about which file failed to be removed.This ensures that all files are tentatively removed.
It also adds warning about which file failed to be removed.Soft loopsFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/69Logger cleanup2020-03-11T13:48:07ZSamuel GAISTLogger cleanupThis merge request update all logger.warn calls to logger.warning as warn is obsolete.
It also removes all unused logger instances.
As drive-by contribution, it also did pre-commit cleanup as well as code improvements
based on the outp...This merge request update all logger.warn calls to logger.warning as warn is obsolete.
It also removes all unused logger instances.
As drive-by contribution, it also did pre-commit cleanup as well as code improvements
based on the output of bandit.Soft loopsFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/68Fix wrong instance variable name in error message2020-03-05T09:05:46ZSamuel GAISTFix wrong instance variable name in error messageWhen not enough data is written with a CachedDataSink the error message will trigger an error because it uses a wrong instance variable name.
This patch fixes this.When not enough data is written with a CachedDataSink the error message will trigger an error because it uses a wrong instance variable name.
This patch fixes this.Soft loopsSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/67Fix wait method2020-02-06T17:36:09ZSamuel GAISTFix wait methodThis patch fixes the wait method of both the loop and database executor.
It now won't error if the method is called while their process method was not.
Fixes #30This patch fixes the wait method of both the loop and database executor.
It now won't error if the method is called while their process method was not.
Fixes #30Soft loopsFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/66Improve CachedDataSink error messages2020-01-23T12:32:21ZSamuel GAISTImprove CachedDataSink error messagesIf the opening of the cache file fails, print an error
message to know where to look at.If the opening of the cache file fails, print an error
message to know where to look at.Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/65Completely remove "license_file" entry on conda recipe2019-11-14T15:58:26ZSamuel GAISTCompletely remove "license_file" entry on conda recipeSee bob.devtools#44 and bob.devtools!127
Fixes #28 See bob.devtools#44 and bob.devtools!127
Fixes #28 Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/64[utils] Fix hash generated by storage classes2019-10-23T05:06:22ZSamuel GAIST[utils] Fix hash generated by storage classesThe hash doesn't match what is done in beat/beat.web> resulting
in a mismatch when using e.g. beat/beat.cmdline>.
This patch modifies the code so that the returned value
follows the same logic as used in beat/beat.web>The hash doesn't match what is done in beat/beat.web> resulting
in a mismatch when using e.g. beat/beat.cmdline>.
This patch modifies the code so that the returned value
follows the same logic as used in beat/beat.web>Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/62Improve AstractStorage error message in constructor2019-10-07T15:34:16ZSamuel GAISTImprove AstractStorage error message in constructorThis will allow to have more information during the current failure experimented with beat/beat.web>This will allow to have more information during the current failure experimented with beat/beat.web>Soft loopsSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/61Improve synchronized output handling2019-10-01T13:10:29ZSamuel GAISTImprove synchronized output handlingThis merge request adds the processor output name that is currently written to the parameters of the evaluator write.
This allows to manage the evaluator write operation more cleanly has the method is called each time a processor output...This merge request adds the processor output name that is currently written to the parameters of the evaluator write.
This allows to manage the evaluator write operation more cleanly has the method is called each time a processor output is written to.
Fixes #27Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/60[execution][messagehandlers] Fix write end_data_index handling in LoopMessage...2019-09-27T14:57:08ZSamuel GAIST[execution][messagehandlers] Fix write end_data_index handling in LoopMessageHandlerThe None value is not properly handled and ends up
triggering a warning while it is a valid value for
end_data_index.
This patch fixes this.The None value is not properly handled and ends up
triggering a warning while it is a valid value for
end_data_index.
This patch fixes this.Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/59Do not systematically decode incoming zmq parts2019-09-25T09:25:30ZSamuel GAISTDo not systematically decode incoming zmq partsUnder some circumstances the decoding may fail as the binary
data may contain values outside the utf-8 "visible" range.
Fixes #26Under some circumstances the decoding may fail as the binary
data may contain values outside the utf-8 "visible" range.
Fixes #26Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/58Change loop parts name2019-07-31T08:12:04ZSamuel GAISTChange loop parts nameAfter experience and discussions, the xxx_loop_user and xxx_loop
algorithm type names are not well expressing what the
corresponding algorithms do.
This patch changes their name to:
- xxx_loop_processor
- xxx_loop_evaluator
W...After experience and discussions, the xxx_loop_user and xxx_loop
algorithm type names are not well expressing what the
corresponding algorithms do.
This patch changes their name to:
- xxx_loop_processor
- xxx_loop_evaluator
Which are clearer for the role of each.
Part of beat/beat.core#86Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/56Fix loop dataformat export2019-07-12T15:10:05ZSamuel GAISTFix loop dataformat exportThis merge request fixes handling of the dataformat objects
in the algorithm.
This allows to properly export all dataformats used be it
in input, outputs or loop communication.
Tests have been update to ensure that different dataformat...This merge request fixes handling of the dataformat objects
in the algorithm.
This allows to properly export all dataformats used be it
in input, outputs or loop communication.
Tests have been update to ensure that different dataformats
are used for these various elements.Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/55New loop user types2019-07-11T17:45:34ZSamuel GAISTNew loop user typesThis merge request implements the support for
both autonomous and sequential loop user types.This merge request implements the support for
both autonomous and sequential loop user types.Soft loopsAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.backend.python/-/merge_requests/54Implement loop output2019-07-29T13:02:19ZSamuel GAISTImplement loop outputThis merge request implements output writing from the loop block.
Following conversations with interested parties:
- The loop block must have an output
- The loop block shall be notified when a loop user block writes on its outputs
...This merge request implements output writing from the loop block.
Following conversations with interested parties:
- The loop block must have an output
- The loop block shall be notified when a loop user block writes on its outputs
Part of beat/beat.core#84Soft loopsAndré AnjosAndré Anjos