Commit Graph

121 Commits

Author SHA1 Message Date
Philip Eisenlohr 0adc827278 Merge branch 'development' into python-vtk-improvements 2022-02-18 14:46:40 -05:00
Martin Diehl 9fc6469b13 Merge remote-tracking branch 'origin/development' into python-polishing 2022-02-16 23:13:46 +01:00
Philip Eisenlohr 18f9ac7d44 outsource tail-repacking of characters into string (util.tail_repack) 2022-02-14 12:11:01 -05:00
Martin Diehl b1922c9fc0 return most specific type 2022-02-13 11:03:53 +01:00
Martin Diehl 57e8fe2b8a need bracket for correct evaluation 2022-02-10 21:28:48 +01:00
Daniel Otto de Mentock df54bf724c Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-02-03 11:19:15 +01:00
Daniel Otto de Mentock 4b2e104f03 added new type for rng_seed in _typehints module 2022-02-02 12:52:59 +01:00
Daniel Otto de Mentock cb1143a472 changed return type of util.shapeblender and util.shapeshifter from Sequence[SupportsIndex] to Tuple[SupportsIndex, ...]
ignored lines in orientation module that attempt to pass objects of type 
Tuple[SupportsIndex, ...] to np.broadcast_to()
2022-02-01 18:38:49 +01:00
Daniel Otto de Mentock 086ff42be5 05 Typehints config configmaterial 2022-02-01 07:30:00 +00:00
Martin Diehl 9ce4573b12 docstring polishing 2022-01-29 23:16:57 +01:00
Martin Diehl df96110733 some suggestions from prospector/pylint 2022-01-29 22:38:17 +01:00
Martin Diehl 609f13c590 Python 3.8 magic: The walrus operator ":=" 2022-01-29 18:29:42 +01:00
Daniel Otto de Mentock 8e514bf6f4 added missing utils typehint 2022-01-26 16:36:26 +01:00
Daniel Otto de Mentock 0c21b6a8e0 [skip ci] changed almost all function definition lines to multiline for colormap, grid, table, vtk and util modules 2022-01-26 16:25:27 +01:00
Martin Diehl 2bbc4c4e46 polishing 2022-01-22 09:04:14 +01:00
Martin Diehl a35a01d41b iterable can be any Iterable, not just a Sequence
need to give N_iter only in cases when iterable is not a Sequence
2022-01-22 07:50:52 +01:00
Martin Diehl 7e9ce682e7 correcting types
Not really sure if srepr and friends take really 'Any'. They take
everything that can be casted (piecewise) to a string. So keep it open
at the moment and leave out a typehint
2022-01-22 06:56:42 +01:00
Daniel Otto de Mentock 76ccd4aaaa replaced typehint in shapeshifter function 2022-01-21 11:45:14 +01:00
Daniel Otto de Mentock 23743c73d4 adjusted util.hybrid_IA function argument 2022-01-19 10:37:22 +01:00
Daniel Otto de Mentock adf7abbda6 added typehints for util module 2022-01-17 14:58:08 +01:00
Philip Eisenlohr b2d0fd8ff5 Lambert azimuthal equal-area (laea) projection 2021-12-28 10:19:17 +00:00
Martin Diehl a038c4bbac shorter and 'standard' 2021-08-31 22:51:49 +02:00
Martin Diehl a809650a07 wrapper to subprocess.run 2021-08-31 07:12:53 +02:00
Philip Eisenlohr d2bd6e16ca capture special case early instead of failing 2021-08-16 13:24:34 -04:00
Martin Diehl d1c3d767cc documenting 2021-07-25 19:59:26 +02:00
Martin Diehl e54f032f1e Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-07-18 15:09:40 +02:00
Martin Diehl 3c22dd81ac correct update frequency 2021-07-09 11:29:52 +02:00
Martin Diehl 32b5e4dece update time estimate for long running processes 2021-06-18 18:14:52 +02:00
Martin Diehl 684016f3e3 utility function without connection to an object 2021-06-01 21:29:35 +02:00
Philip Eisenlohr d6e69d5d4b [skip ci] polishing of doc string 2021-05-10 14:44:58 -04:00
Martin Diehl a48fa5d797 better readable and documented 2021-05-07 20:07:59 +02:00
Martin Diehl 24046ef683 support the user 2021-04-24 18:00:57 +02:00
Martin Diehl 37df78a8e0 don't show progress bar for empty iterations 2021-04-10 15:01:50 +02:00
Martin Diehl 115e3dd4c7 simplified 2021-04-05 17:18:12 +02:00
Martin Diehl 65b03aeb2d Merge remote-tracking branch 'origin/development' into Results.read-.place 2021-04-05 10:22:49 +02:00
Martin Diehl 6f3dc80079 simplified/using new functionality 2021-04-03 16:32:48 +02:00
Martin Diehl 27f2e3b26e avoid random order when using sets 2021-04-03 12:21:06 +02:00
Martin Diehl 39c0bc9de6 polishing 2021-04-03 08:19:16 +02:00
Philip Eisenlohr f6d6aefe1d function renaming; rewording of help messages 2021-04-01 18:41:28 -04:00
Martin Diehl 8a8a28adc4 support multi-constituents 2021-03-31 20:02:25 +02:00
Martin Diehl 97e6c397d9 cleaned 2021-03-31 15:10:39 +02:00
Martin Diehl e9c65dee73 documenting and testing 2021-03-31 10:59:21 +02:00
Martin Diehl 60119c1300 return minimal unique dictionaries per default 2021-03-30 21:39:14 +02:00
Martin Diehl 989992004d cleaning dicts 2021-03-30 19:41:36 +02:00
Martin Diehl be9e00347b cleaning
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Martin Diehl 111a1a76c6 cleaning 2021-03-27 07:35:49 +01:00
Martin Diehl 9fd244d8a0 cleaning 2021-03-26 20:59:49 +01:00
Martin Diehl 1ff6a09746 tests/specifications 2021-03-23 18:51:21 +01:00
Martin Diehl 572c3204d0 let the computer do the work 2021-03-23 14:28:56 +01:00
Martin Diehl cdcedd0d44 autodetect base group 2021-03-20 07:26:07 +01:00