summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Preparing release 0.5.10.5.1Hernan Grecco2014-06-032-3/+3
|
* Updated CHANGESHernan Grecco2014-06-031-1/+10
|
* Updated the contributing section of the docsHernan Grecco2014-06-031-1/+8
|
* Merge branch 'fix_links' of git://github.com/infraredgirl/pint into developHernan Grecco2014-05-302-4/+4
|\
| * Fixed download links in documentationAna Krivokapic2014-05-292-4/+4
| | | | | | | | Download links for ePub and zipped HTML were switched around.
* | Removed incorrect text from the tutorialHernan Grecco2014-05-261-1/+0
| | | | | | | | Close #149
* | Merge branch 'master' of git://github.com/infraredgirl/pint into developHernan Grecco2014-05-264-5/+5
|\ \
| * | Fixed typos in comments and docsAna Krivokapic2014-05-264-5/+5
| |/
* | Added docstring and return value in test functions.Hernan Grecco2014-05-252-2/+8
| |
* | Change internal function run_pyroma to _run_pyromaHernan Grecco2014-05-252-2/+4
| |
* | Added a standard way to change the registry used in unpickling operations.Hernan Grecco2014-05-251-2/+24
| | | | | | | | Close #148
* | Merge branch 'jdreaver-master' into developHernan Grecco2014-05-162-1/+13
|\ \
| * | Fix bug where conversion would fail b/c of cachingJohn David Reaver2014-05-132-1/+13
| |/ | | | | | | Return copies from from_string lru_cache
* | Fix in setitemHernan Grecco2014-05-091-0/+3
| |
* | Allow assigning Not a Number to a quantity array.Hernan Grecco2014-05-092-0/+16
| | | | | | | | Close #127
* | Quantity unit conversion methods are now independent from their in-place ↵Hernan Grecco2014-05-082-12/+30
| | | | | | | | | | | | | | | | | | relatives. Previously, `Quantity.to` was calling `Quantity.ito` after a copy operation. In the same way, `Quantity.to_base_units` was calling `Quantity.ito_base_units`. Now, each function has it's independent code path which call the right math (in-place or not in-place) function.
* | Return None in functions that modify quantities in placeHernan Grecco2014-05-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | - Quantity.ito - Quantity.ito_base_units See: https://docs.python.org/3.3/tutorial/datastructures.html#id3 BACKWARDS INCOMPATIBLE CHANGE
* | Changed testing infrastructure to use BaseTestCase to check for unwanted ↵Hernan Grecco2014-05-083-25/+20
| | | | | | | | warnings
* | Changed value of testing to remove 1/0 warning.Hernan Grecco2014-05-081-1/+1
| |
* | Remove spurious prints in testing.Hernan Grecco2014-05-082-2/+0
| |
* | Added test function at the package level to run all tests.Hernan Grecco2014-05-084-3/+19
|/
* Back to development: 0.6Hernan Grecco2014-05-072-1/+7
|
* Preparing release 0.50.5Hernan Grecco2014-05-072-2/+2
|
* Moved benchmarks to its own folder.Hernan Grecco2014-05-064-0/+1
|
* Restored 1m notation (but excluding exponential format for numbers)Hernan Grecco2014-05-062-1/+10
|
* Updated CHANGESHernan Grecco2014-05-051-6/+21
|
* Update AUTHORSHernan Grecco2014-05-051-0/+5
|
* Removed duplicated lineHernan Grecco2014-04-121-1/+0
|
* Added some commentsHernan Grecco2014-04-111-1/+36
|
* Print honors default formatw/o format()Kenneth D. Mankoff2014-04-091-1/+1
|
* Implemented checks in testsuite to assert that warnings are only emmited ↵Hernan Grecco2014-04-016-19/+28
| | | | | | | | when expected. Each test class captures the logging output for warnings and check at tear down that there was not a warning. If any warning is expected you must explicitly capture within the test using `with self.capture_log() as buffer:`
* Add __call__ method to LazyRegistry.Hernan Grecco2014-04-011-0/+3
|
* Refactored tests to use AssertQuantityEqual and AssertQuantityAlmostEqualHernan Grecco2014-04-0110-250/+222
| | | | Also created a contextmanager to capture log outputs.
* Fixed testsHernan Grecco2014-03-313-21/+37
|
* Refactored some helpers for tests.Hernan Grecco2014-03-319-27/+50
|
* Quantity.ito method now does the conversion in place when possible.Hernan Grecco2014-03-312-1/+20
|
* Implemented in place conversion in the registry.Hernan Grecco2014-03-302-26/+90
| | | | | | | | | | | | | The converters methods `from_reference` and `to_reference` now take an optional argument (named `inplace` and defaulting to False) to indicate if the conversion should be done in place or not. `UnitRegistry.convert` takes the same argument. This is convenient when operating with big numpy arrays and do not want to allocate extra memory. Note: Context mediated transformations are not done in place yet.
* Implemented better handling of Quantities with mutable magnitudesHernan Grecco2014-03-294-147/+292
| | | | | | | | Only if the magnitude is a `numpy.ndarray`, the in place math operations take place. In any other case, another object Quantity object is created and returned. See #104
* Implemented case_sensitive argument for parse_expressionHernan Grecco2014-03-292-13/+45
| | | | | | | | | | | | | The argument is added to: - parse_expression - get_name - parse_unit_name It also adds a private dictionary to UnitRegistry (`_units_casei` that maps units names (in lower case) to a set of real unit names (in the correct case) See #105
* Merge branch 'docs/tutorial_html_repr' of git://github.com/aepsil0n/pint ↵Hernan Grecco2014-03-291-2/+2
|\ | | | | | | into aepsil0n-docs/tutorial_html_repr
| * Fix typo in tutorial string representation exampleEduard Bopp2014-03-291-2/+2
| |
* | Fixed for Python 2.6 compatibilityHernan Grecco2014-03-271-1/+1
|/
* Improved error messages on faulty definition files. Now most errors are ↵Hernan Grecco2014-03-271-6/+45
| | | | raised instead of logged.
* Issue 77 requires uncertainties.Hernan Grecco2014-03-261-1/+2
|
* Added test for issue 77 which was fixed when started using uncertaintiesHernan Grecco2014-03-261-0/+7
| | | | Close #77
* Improved String formatting operations for MeasurementsHernan Grecco2014-03-263-5/+52
| | | | | | | | | | Measurements build upon ufloat from the uncertainties package. http://pythonhosted.org/uncertainties/ When formatting a Measurement, Pint dispatch formatting codes to uncertainties to obtain the formatted ufloat. Close #6
* Fix catching of warnings during testing.Hernan Grecco2014-03-245-36/+36
|
* Added docs about serialization.Hernan Grecco2014-03-242-0/+93
| | | | Closes #109
* Update nonmultiplicative units docs.Hernan Grecco2014-03-241-1/+1
|
* Raise exception or warn upon redefinition of units.Hernan Grecco2014-03-242-7/+58
| | | | | | | | | | In the DEFAULT_REGISTRY, an exception (ValueError) is raised. In any other registry, issue a warning The behaviour can be chaged using the `on_redefinition` argument in the constructor. Close #108