Skip to content

Conversation

aburrell
Copy link
Member

Description

Found a bug in utils.extract where a list of keys was not created correctly.

Also made some style changes and improved the model loading logic.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

This has been run using multiple instruments and time periods lasting from several days to a year.

Test Configuration:

  • Operating system: OS X
  • Version number: 2.7 and 3.7

Checklist:

  • Make sure you are merging into the develop (not master) branch
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Fixed dimension logic by explicitly creating a list of keys.
Updated docstring to include all routines and fixed import blocks.
Added try/except for model file loading to allow model loading routines to fail
informatively using IOError or ValueError, and still allow the rest of the files to load.
@aburrell aburrell added this to the 1.0.0 release milestone Mar 10, 2020
@aburrell aburrell added the bug Something isn't working label Mar 10, 2020
Copy link
Member

@jklenzing jklenzing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Question about usage.

from os import path
from pandas import (DateOffset, date_range)

from pandas import (DateOffset, date_range)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are tuples of methods part of a style recommendation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't recall, I normally don't use them.

@aburrell aburrell merged commit 881ecf1 into develop Apr 1, 2020
@aburrell aburrell deleted the more_bugs branch April 1, 2020 21:53
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.

3 participants