• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IAMconsortium / pyam / 479
100%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2018 06:37AM UTC
Jobs 4
Files 10
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
479

push

travis-ci

znicholls
extend IamDataFrame to use extra data columns and sub-annual time (#167)

* extend unit tests for input as `datetime`

* refactor `timeseries()` to use `time_col`

* enable filtering by extra columns in `data`

* add check that no column conflicts exist between `meta` and `data`

* raise error when using `append()` with incompatible time formats

* docstring clean-up

* pep8

* test additional time formats

* clean up returned json object returned from IIASA db

* add kwarg `iamc_index` to `timeseries()` for clean or full index

* fix bug in setting `extra_cols` from long format

* when retrieving data from iiasadb, check that versions are unique

* appeasing stickler

* appeasing stickler more

* change default behaviour of `timeseries()` to include all extra cols

* Add extra tests and time filter (#9)

* Add test of extra col init behaviour

* Add failing tests of time filtering

* Setup time filtering tests

* Pass test filter year

* Redo tests of time filtering and include super messy first steps towards implementation

* Fill out tests and reset core

* Finish implementation of time filtering, cleaning up needed

* Refactor core so apply filters can use self.time_col

* remove test for `meta` with extra columns (behaviour not supported)

* fix bug in error message match for Python 2

as suggested by @znicholls

* update docstring for `filter()` and fix warning message formatting

* try again to fix bug in error message mattch for Python 2

* enable initializing with wide format and datetime columns

* extend initialization of IamDataFrame for extra columns, distinguish `year` and `time`

* refactor from static to `self._LONG_IDX`

* refactor `format_data()` to accept datetime as columns

* fix rebase error

* add to release notes

* add `iamc_index` as kwarg to `to_csv()` and `to_excel()`

* appeasing stickler

* refactor `_df` to `_data` in `__init__()`

* move tests r... (continued)

187 of 187 new or added lines in 3 files covered. (100.0%)

1555 of 1859 relevant lines covered (83.65%)

3.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 479.1 (PYENV=py37) 20 Dec 2018 06:39AM UTC 0
83.65
Travis Job 479.1
2 479.2 (PYENV=py27) 20 Dec 2018 06:37AM UTC 0
83.65
Travis Job 479.2
3 479.3 (PYENV=py37) 20 Dec 2018 06:38AM UTC 0
83.65
Travis Job 479.3
4 479.4 (PYENV=py27) 20 Dec 2018 06:40AM UTC 0
83.65
Travis Job 479.4
Source Files on build 479
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #479
  • 627a2b4a on github
  • Prev Build on master (#468)
  • Next Build on master (#482)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc