Skip to content

[FIX] TimeVariable.parse: Do not modify _ISO_FORMATS#4539

Merged
VesnaT merged 1 commit intobiolab:masterfrom
ales-erjavec:fixes/timevariable-parse
Mar 20, 2020
Merged

[FIX] TimeVariable.parse: Do not modify _ISO_FORMATS#4539
VesnaT merged 1 commit intobiolab:masterfrom
ales-erjavec:fixes/timevariable-parse

Conversation

@ales-erjavec
Copy link
Contributor

Issue

TimeVariable.parse was not thread safe and could mess up _ISO_FORMATS list losing some entries via duplication.

Description of changes

Make iteration order explicit, modified only via class instance assignment.

Includes
  • Code changes
  • Tests
  • Documentation

TimeVariable.parse was not thread safe and could mess up
_ISO_FORMATS list losing some entries via duplication.
@codecov
Copy link

codecov bot commented Mar 16, 2020

Codecov Report

Merging #4539 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4539      +/-   ##
==========================================
- Coverage   83.37%   83.35%   -0.03%     
==========================================
  Files         279      274       -5     
  Lines       55755    54961     -794     
==========================================
- Hits        46485    45812     -673     
+ Misses       9270     9149     -121     

@VesnaT VesnaT merged commit 29c5bca into biolab:master Mar 20, 2020
@ales-erjavec ales-erjavec deleted the fixes/timevariable-parse branch August 5, 2020 11:43
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.

2 participants