Commit Graph

1629 Commits

Author SHA1 Message Date
Martin Diehl 6fe6be7a34 Merge remote-tracking branch 'origin/development' into 151_typehints-readability 2022-01-27 15:30:41 +01:00
Martin Diehl e2437ee9b5 adjusting style + documentation 2022-01-27 15:29:33 +01:00
Test User 79864818df [skip ci] updated version information after successful test of v3.0.0-alpha5-518-g4fa97b9a3 2022-01-27 15:13:59 +01:00
Daniel Otto de Mentock 19a73bbf3b [skip ci] adjusted function argument alignment with asterisk 2022-01-27 12:14:54 +01:00
Daniel Otto de Mentock a12135fe77 [skip ci] changed function definition to multiline layout for crystal, seeds and tensor module 2022-01-27 10:45:14 +01:00
Martin Diehl 4ca501c73f small changes in logic for type hints 2022-01-27 08:53:27 +01:00
Martin Diehl bc667888ce consistent style 2022-01-26 23:37:07 +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 e8c39077df optional is usually not needed 2022-01-26 06:26:37 +01:00
Test User 4f926b9686 [skip ci] updated version information after successful test of v3.0.0-alpha5-495-g814d89532 2022-01-25 10:47:22 +01:00
Test User 53a34be4fb [skip ci] updated version information after successful test of v3.0.0-alpha5-489-g80526967c 2022-01-25 04:08:56 +01:00
Philip Eisenlohr 80526967c1 Merge branch 'typehints_table' into 'development'
03 Added typehints for table module

See merge request damask/DAMASK!499
2022-01-25 00:56:32 +00:00
Philip Eisenlohr 2f07d88bc7 clarified set of option values 2022-01-24 21:09:13 +00:00
Martin Diehl 7c72bd48fb simplified 2022-01-24 15:07:47 +01:00
Philip Eisenlohr 6bd23715b8 added multiplication as color repeat functionality 2022-01-24 11:56:33 +01:00
Martin Diehl e320623a40 simplified
dict keeps order since Python 3.6
2022-01-23 14:22:36 +01:00
Martin Diehl 3e584570b2 polishing 2022-01-23 14:15:25 +01:00
Martin Diehl 803c85c2ef Merge remote-tracking branch 'origin/development' into typehints_table 2022-01-23 12:45:06 +01:00
Test User efd9b37235 [skip ci] updated version information after successful test of v3.0.0-alpha5-475-g160eb1c60 2022-01-23 12:43:29 +01:00
Philip Eisenlohr 160eb1c600 Merge branch 'typehints_vtk_util' into 'development'
02 Typehints vtk util

See merge request damask/DAMASK!502
2022-01-23 09:31:47 +00: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
Test User beb62e1c0a [skip ci] updated version information after successful test of v3.0.0-alpha5-460-gfc7c165af 2022-01-22 02:46:29 +01:00
Daniel Otto de Mentock 76ccd4aaaa replaced typehint in shapeshifter function 2022-01-21 11:45:14 +01:00
Daniel Otto de Mentock c2fa17e903 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_vtk_util 2022-01-21 06:19:28 +01:00
Test User 4b601a38e7 [skip ci] updated version information after successful test of v3.0.0-alpha5-457-g75040047c 2022-01-21 03:05:10 +01:00
Daniel Otto de Mentock bfa7fd6ecc Merge branch 'development' into 'typehints_vtk_util'
# Conflicts:
#   python/damask/_grid.py
2022-01-20 16:54:23 +00:00
Test User 48f38e74d7 [skip ci] updated version information after successful test of v3.0.0-alpha5-454-gb64a603ef 2022-01-20 15:11:14 +01:00
Daniel Otto de Mentock 77f22318a8 Typehint improvements 2022-01-20 11:52:56 +00:00
Test User 6fb4320fc2 [skip ci] updated version information after successful test of v3.0.0-alpha5-451-g3fbf1459d 2022-01-19 17:02:22 +01:00
Daniel Otto de Mentock f9f0972e3e added FloatSequence type to vtk.from_rectilinear_gridfunction 2022-01-19 10:58:33 +01:00
Daniel Otto de Mentock 5d8fff423e replaced vtk.init argument type with vtkDataSet 2022-01-19 10:40:29 +01:00
Daniel Otto de Mentock 23743c73d4 adjusted util.hybrid_IA function argument 2022-01-19 10:37:22 +01:00
Martin Diehl 632180d67e not needed 2022-01-18 14:27:47 +01:00
Martin Diehl 869fdc847a Merge branch 'development' into misc-improvements 2022-01-18 11:02:18 +01:00
Test User 4cd260881a [skip ci] updated version information after successful test of v3.0.0-alpha5-441-g8b5122f52 2022-01-17 23:52:17 +01:00
Daniel Otto de Mentock 4d3e0e6a51 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_table 2022-01-17 16:07:19 +01:00
Daniel Otto de Mentock 7b158ba108 added typehints for vtk module 2022-01-17 15:00:25 +01:00
Daniel Otto de Mentock adf7abbda6 added typehints for util module 2022-01-17 14:58:08 +01:00
Martin Diehl a545baebbf VTK polishing
avoid segmentation fault (also allows testing)
2022-01-16 19:23:12 +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 b796bc0697 simplified 2022-01-14 20:44:34 +01:00
Daniel Otto de Mentock 01cc6ffd2c added minor grid adjustments after initial merge of typehints_grid branch 2022-01-14 17:56:58 +01:00
Daniel Otto de Mentock dd82c3c8f0 rewrote table module adjustments to not make use of _io module 2022-01-14 15:08:40 +01:00
Test User 6da3f0fa51 [skip ci] updated version information after successful test of v3.0.0-alpha5-389-ga000e477c 2022-01-14 07:24:12 +01:00
Daniel Otto de Mentock a000e477cf Merge branch 'typehints_grid' into 'development'
added fist typehints for _grid module

See merge request damask/DAMASK!474
2022-01-13 16:21:19 +00:00
Daniel Otto de Mentock db21e82fe3 adjusted data.column retrieval in save method 2022-01-13 17:15:54 +01:00
Daniel Otto de Mentock b4088b666e adjusted filehandle conditional type 2022-01-13 13:27:50 +01:00