Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #663

Merged
merged 14 commits into from
Nov 11, 2016
Merged

Develop #663

merged 14 commits into from
Nov 11, 2016

Conversation

yeganer
Copy link
Contributor

@yeganer yeganer commented Nov 11, 2016

No description provided.

karandesai-96 added 13 commits March 5, 2016 19:30
- Three new methods introduced in test_util.py, of
  them the first method tests MalformedSpeciesError,
  second method tests MalformedElementsSymbolError,
  third method tests MalformedQuantityError.

- All 3 classes inherit from an empty MalformedError
  so MalformedError itself does not need unit test.
- Indentation was kept 3x spaces, increased to 4x.

- Parameter 'input' shadowed built-in name input, so rename
  it to 'int_input'.

- Adds param and returns description in docstring, makes the
  doctests shorter and more precise.

- Replaces deprecated style of raising exceptions.

- Removes C-style for-in range looping to a better and more
  pythonic style 'enumerate'.
- numpy, scipy, pandas and matplotlib versions were
  increased in conda-requirements.
- astropy==1.0.4 and numpy==1.10.0 cannot work
  together. numpy==1.10.0 is required to solve
  libgfortran issue, so astropy is changed from
  1.0.4 to 1.0.5

- Same case for pytables==3.2 hence is changed
  to 3.2.2
- Adds testcase for raising MalformedElementSymbolError
  in element_symbol2atomic_number.

- Combines tests for test_parse_quantity into one test,
  and adds testcases for raising MalformedQuantityError.
- Coverage for various exceptions raised by the
  species_string_to_tuple method. Similarly for
  species_tuple_to_string method.
- Rearranged tests in same order as they are
  in 'tardis/util.py'.

- Fixed pep8 violations and the testcases in
  pytest decorators were reorganized as one
  per line for better readability.
- Indentation was kept 3x, increased to 4x.

- Parameters 'input and 'sum' shadowed built-in
  names, so changed them to 'roman_input' and
  'result'.

- Adds 'param' and 'returns' description in the
  docstring.

- Replaces deprecated style of raising exceptions.
@wkerzendorf wkerzendorf reopened this Nov 11, 2016
@wkerzendorf wkerzendorf merged commit 52b8a77 into master Nov 11, 2016
@ftsamis ftsamis deleted the develop branch December 20, 2016 15:17
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