Commit Graph

257 Commits

Author SHA1 Message Date
Daniel Otto de Mentock 66f129273c Merge branch 'magic_methods_default_docstrings' into 'development'
Added standard magic method descriptions to magic methods

Closes #112

See merge request damask/DAMASK!606
2022-08-10 15:35:56 +00:00
Martin Diehl fb38340184 glitch in example 2022-07-27 12:56:37 +02:00
d.mentock df1f362ed3 it's useful for users to see standard docstrings in magic methods 2022-07-08 18:06:41 +02:00
Philip Eisenlohr 40658a6645 fixed typo in Result.view example 2022-06-05 21:39:06 +00:00
Martin Diehl b9cea941cc simplified 2022-05-23 10:37:57 +02:00
Martin Diehl 4b4b455b85 mypy does not understand the setter 2022-05-22 10:08:32 +02:00
Martin Diehl 8039e56882 Merge remote-tracking branch 'origin/development' into typehints_results 2022-05-21 17:46:59 +02:00
d.mentock 570ba8d626 added type: ignore to unrecognized one line if statement 2022-05-20 12:04:34 +02:00
Martin Diehl 6c7f2344da Merge branch 'normalize-to_pole' into 'development'
normalize to_pole output by default

See merge request damask/DAMASK!578
2022-05-15 21:46:27 +00:00
Martin Diehl 90c3b3170d propagate 'normalize' option 2022-05-13 09:54:32 +02:00
Philip Eisenlohr d18e36ecf0 fixed leftover .add --> .set 2022-05-11 18:54:03 -04:00
Martin Diehl 302f020f63 looks better
at least on Linux
2022-05-11 09:22:05 +02:00
Philip Eisenlohr c9f344758a use symmetry-aware Miller brackets in Result.add_pole 2022-05-10 15:26:33 -04:00
Martin Diehl 13f4d77791 polishing 2022-05-10 19:17:59 +02:00
Daniel Otto de Mentock 57177303b3 changed string using format in _add_eigenvalue to f-string 2022-05-02 16:40:51 +02:00
d.mentock a0f019a0cf result typehints revision 2022-05-02 11:18:35 +02:00
Martin Diehl ec6ecc7ed4 default order 2022-04-30 00:25:49 +02:00
1a2a34v 482db1ac3b [skip ci] renamed _add_generic_pointwise provided_func argument to callback 2022-04-28 09:45:10 +02:00
Daniel Otto de Mentock 793f4e22ba renamed func argument to _job_pointwise function to provided_func to avoid overlap with func argument of functools.partial function 2022-04-27 17:29:19 +02:00
Daniel Otto de Mentock b06a272586 updated commits of original branch to suit current state of development 2022-04-27 16:26:33 +02:00
Martin Diehl 1b1eb824c4 better readable 2022-04-22 18:26:52 +02:00
Martin Diehl fb6160e7af Merge remote-tracking branch 'origin/development' into result.incs 2022-04-22 18:24:18 +02:00
Philip Eisenlohr fa58d69cbb switched "master" property from incs to increments 2022-04-21 17:29:33 -04:00
Philip Eisenlohr b5f9d524d7 optional start,end in times_in_range 2022-04-21 15:56:17 -04:00
Philip Eisenlohr 730bd8ae34 globally defined prefix_inc --> "increment_" 2022-04-21 11:50:24 -04:00
Nikhil Prabhu 58b67007a9 fixed missing add_strain 2022-04-12 12:02:00 +02:00
Philip Eisenlohr 84ac426606 additional property shows integer list 2022-04-01 18:04:50 -04:00
Martin Diehl f3cf67d3fa avoid code duplication and inconsistencies 2022-03-27 09:55:20 +02:00
Martin Diehl e9906864cf ensure Unix line endings 2022-03-26 22:00:08 +01:00
Philip Eisenlohr 56c33b8a5c flipped VTK.add to use (label,data) to be consistent with other functionality 2022-03-11 20:07:18 -05:00
Martin Diehl 05541736a6 clearer message 2022-03-09 15:18:18 +01:00
Martin Diehl 20e056e26a consistent interface also for internal functionality
allows to change multiple 'what's at the same time
2022-03-07 13:10:15 +01:00
Martin Diehl a77b63718c remove deprecated interface options 2022-03-04 20:27:32 +01:00
Philip Eisenlohr 320ab70270 Merge branch 'development' into 'python-vtk-improvements'
# Conflicts:
#   python/damask/_vtk.py
2022-02-23 14:20:52 +00:00
Martin Diehl 77e57a268c unified.
the default python description "Return repr(self)." is pretty useless,
so better agree on a DAMASK standard
2022-02-23 07:21:30 +01:00
Philip Eisenlohr 47dcd4bd41 follow Python exception message convention of lower-case 2022-02-22 10:42:05 -05:00
Philip Eisenlohr aeb0e527ec Consistent formatting of raised messages 2022-02-22 09:46:12 -05:00
Martin Diehl e8a4f06634 out of place behavior for VTK 2022-02-22 07:49:44 +01:00
Martin Diehl 9fe51686e5 allow to use '~' in path
not sure how to test, i.e. how to create a fixture to have a fake home
2022-02-21 07:19:05 +01:00
Philip Eisenlohr 0adc827278 Merge branch 'development' into python-vtk-improvements 2022-02-18 14:46:40 -05:00
Philip Eisenlohr 826611411f "list_data" now returns list not str; deemph creator 2022-02-17 12:05:13 -05:00
Martin Diehl 9a5eb45212 helpful information when comparing files 2022-02-17 07:16:55 +01:00
Philip Eisenlohr 2ce464c48e vtk.comments as directly accessed property 2022-02-14 09:24:12 -05:00
Sharan 1bd654781b tests updated 2022-02-02 00:20:14 +01:00
Martin Diehl 6657e5c4eb testing a few corner cases
behavior for __eq__ is now following python standard, comparing to wrong
class gives False
2022-01-15 13:22:15 +01:00
Martin Diehl 3acabcdc7f docstring adjustments 2022-01-12 23:57:21 +01:00
Martin Diehl 2fc25c6fa9 correct reporting 2021-12-17 14:31:51 +01:00
Martin Diehl a1e42af860 easier to understand 2021-12-17 10:44:41 +01:00
Martin Diehl c1eabc3384 simplified interface 2021-12-17 10:31:41 +01:00
Martin Diehl 0b6af19e54 use of keywords is more intuitive
code needs cleaning after revoming of 'what' and 'datasets'. For the
moment, keep the old style for compatibility with existing evaluation
scripts
2021-12-17 09:48:33 +01:00