Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Preparing release 0.5.10.5.1 | Hernan Grecco | 2014-06-03 | 2 | -3/+3 |
| | |||||
* | Updated CHANGES | Hernan Grecco | 2014-06-03 | 1 | -1/+10 |
| | |||||
* | Updated the contributing section of the docs | Hernan Grecco | 2014-06-03 | 1 | -1/+8 |
| | |||||
* | Merge branch 'fix_links' of git://github.com/infraredgirl/pint into develop | Hernan Grecco | 2014-05-30 | 2 | -4/+4 |
|\ | |||||
| * | Fixed download links in documentation | Ana Krivokapic | 2014-05-29 | 2 | -4/+4 |
| | | | | | | | | Download links for ePub and zipped HTML were switched around. | ||||
* | | Removed incorrect text from the tutorial | Hernan Grecco | 2014-05-26 | 1 | -1/+0 |
| | | | | | | | | Close #149 | ||||
* | | Merge branch 'master' of git://github.com/infraredgirl/pint into develop | Hernan Grecco | 2014-05-26 | 4 | -5/+5 |
|\ \ | |||||
| * | | Fixed typos in comments and docs | Ana Krivokapic | 2014-05-26 | 4 | -5/+5 |
| |/ | |||||
* | | Added docstring and return value in test functions. | Hernan Grecco | 2014-05-25 | 2 | -2/+8 |
| | | |||||
* | | Change internal function run_pyroma to _run_pyroma | Hernan Grecco | 2014-05-25 | 2 | -2/+4 |
| | | |||||
* | | Added a standard way to change the registry used in unpickling operations. | Hernan Grecco | 2014-05-25 | 1 | -2/+24 |
| | | | | | | | | Close #148 | ||||
* | | Merge branch 'jdreaver-master' into develop | Hernan Grecco | 2014-05-16 | 2 | -1/+13 |
|\ \ | |||||
| * | | Fix bug where conversion would fail b/c of caching | John David Reaver | 2014-05-13 | 2 | -1/+13 |
| |/ | | | | | | | Return copies from from_string lru_cache | ||||
* | | Fix in setitem | Hernan Grecco | 2014-05-09 | 1 | -0/+3 |
| | | |||||
* | | Allow assigning Not a Number to a quantity array. | Hernan Grecco | 2014-05-09 | 2 | -0/+16 |
| | | | | | | | | Close #127 | ||||
* | | Quantity unit conversion methods are now independent from their in-place ↵ | Hernan Grecco | 2014-05-08 | 2 | -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 place | Hernan Grecco | 2014-05-08 | 1 | -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 Grecco | 2014-05-08 | 3 | -25/+20 |
| | | | | | | | | warnings | ||||
* | | Changed value of testing to remove 1/0 warning. | Hernan Grecco | 2014-05-08 | 1 | -1/+1 |
| | | |||||
* | | Remove spurious prints in testing. | Hernan Grecco | 2014-05-08 | 2 | -2/+0 |
| | | |||||
* | | Added test function at the package level to run all tests. | Hernan Grecco | 2014-05-08 | 4 | -3/+19 |
|/ | |||||
* | Back to development: 0.6 | Hernan Grecco | 2014-05-07 | 2 | -1/+7 |
| | |||||
* | Preparing release 0.50.5 | Hernan Grecco | 2014-05-07 | 2 | -2/+2 |
| | |||||
* | Moved benchmarks to its own folder. | Hernan Grecco | 2014-05-06 | 4 | -0/+1 |
| | |||||
* | Restored 1m notation (but excluding exponential format for numbers) | Hernan Grecco | 2014-05-06 | 2 | -1/+10 |
| | |||||
* | Updated CHANGES | Hernan Grecco | 2014-05-05 | 1 | -6/+21 |
| | |||||
* | Update AUTHORS | Hernan Grecco | 2014-05-05 | 1 | -0/+5 |
| | |||||
* | Removed duplicated line | Hernan Grecco | 2014-04-12 | 1 | -1/+0 |
| | |||||
* | Added some comments | Hernan Grecco | 2014-04-11 | 1 | -1/+36 |
| | |||||
* | Print honors default formatw/o format() | Kenneth D. Mankoff | 2014-04-09 | 1 | -1/+1 |
| | |||||
* | Implemented checks in testsuite to assert that warnings are only emmited ↵ | Hernan Grecco | 2014-04-01 | 6 | -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 Grecco | 2014-04-01 | 1 | -0/+3 |
| | |||||
* | Refactored tests to use AssertQuantityEqual and AssertQuantityAlmostEqual | Hernan Grecco | 2014-04-01 | 10 | -250/+222 |
| | | | | Also created a contextmanager to capture log outputs. | ||||
* | Fixed tests | Hernan Grecco | 2014-03-31 | 3 | -21/+37 |
| | |||||
* | Refactored some helpers for tests. | Hernan Grecco | 2014-03-31 | 9 | -27/+50 |
| | |||||
* | Quantity.ito method now does the conversion in place when possible. | Hernan Grecco | 2014-03-31 | 2 | -1/+20 |
| | |||||
* | Implemented in place conversion in the registry. | Hernan Grecco | 2014-03-30 | 2 | -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 magnitudes | Hernan Grecco | 2014-03-29 | 4 | -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_expression | Hernan Grecco | 2014-03-29 | 2 | -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 Grecco | 2014-03-29 | 1 | -2/+2 |
|\ | | | | | | | into aepsil0n-docs/tutorial_html_repr | ||||
| * | Fix typo in tutorial string representation example | Eduard Bopp | 2014-03-29 | 1 | -2/+2 |
| | | |||||
* | | Fixed for Python 2.6 compatibility | Hernan Grecco | 2014-03-27 | 1 | -1/+1 |
|/ | |||||
* | Improved error messages on faulty definition files. Now most errors are ↵ | Hernan Grecco | 2014-03-27 | 1 | -6/+45 |
| | | | | raised instead of logged. | ||||
* | Issue 77 requires uncertainties. | Hernan Grecco | 2014-03-26 | 1 | -1/+2 |
| | |||||
* | Added test for issue 77 which was fixed when started using uncertainties | Hernan Grecco | 2014-03-26 | 1 | -0/+7 |
| | | | | Close #77 | ||||
* | Improved String formatting operations for Measurements | Hernan Grecco | 2014-03-26 | 3 | -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 Grecco | 2014-03-24 | 5 | -36/+36 |
| | |||||
* | Added docs about serialization. | Hernan Grecco | 2014-03-24 | 2 | -0/+93 |
| | | | | Closes #109 | ||||
* | Update nonmultiplicative units docs. | Hernan Grecco | 2014-03-24 | 1 | -1/+1 |
| | |||||
* | Raise exception or warn upon redefinition of units. | Hernan Grecco | 2014-03-24 | 2 | -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 |