Daniel Otto de Mentock
|
ad39577ea4
|
improvements to docstrings (in `damask.Rotation`)
|
2023-03-02 18:46:00 +00:00 |
Martin Diehl
|
c40b446854
|
add keywords to signature of Orientation functions that inherit from Rotation
|
2023-02-23 18:49:08 +00:00 |
Martin Diehl
|
ce6c86dd6d
|
essentially same behavior as before,
but better documentation, a few simplifications, and typehints
|
2023-01-24 11:26:14 +01:00 |
Martin Diehl
|
dcdc4acbd5
|
Unified object.comments as list[str]; simplifications of Python code
|
2022-12-13 18:32:19 +00:00 |
Martin Diehl
|
741aeab1d3
|
Merge branch '235-docstring-of-orientation-from_axis_angle' into development
|
2022-11-29 06:06:31 +01:00 |
Martin Diehl
|
d668f8a56d
|
don't add empty strings
|
2022-11-28 20:05:39 +00:00 |
Daniel Otto de Mentock
|
8112f87d39
|
parameter names can contain underscores
|
2022-11-28 10:33:07 +01:00 |
Martin Diehl
|
92ae86b636
|
Merge branch 'fix-mypy-no-implicit-optional' into 'development'
PEP 484 compatibility (no-implicit-optional in mypy)
See merge request damask/DAMASK!664
|
2022-11-25 21:25:33 +00:00 |
Martin Diehl
|
77be2c0d4c
|
standard way to report
|
2022-11-25 07:00:15 +01:00 |
Philip Eisenlohr
|
6315f97f4a
|
added explicit Optional type hint
|
2022-11-22 16:26:15 -05:00 |
Martin Diehl
|
815d825fac
|
Merge branch 'material_add' into 'development'
configMaterial functionality
See merge request damask/DAMASK!651
|
2022-11-20 12:59:01 +00:00 |
Daniel Otto de Mentock
|
5017aabcea
|
util.extend_docstring: proper layout for extended class (incl. current return type)
|
2022-11-19 08:10:00 +00:00 |
Philip Eisenlohr
|
fa69a1876b
|
unify X or list/seq/collection of X --> (A/B/C of) X in docstrings
|
2022-11-14 09:09:45 -05:00 |
Philip Eisenlohr
|
2e7d59ab43
|
brief but comprehensive "is_complete" reporting
|
2022-11-11 18:07:48 -05:00 |
Daniel Otto de Mentock
|
400323a9aa
|
Modified shapeshifter function
|
2022-08-12 18:45:40 +00:00 |
Martin Diehl
|
44d9663ff0
|
standard name
|
2022-07-26 21:55:17 +02:00 |
Martin Diehl
|
1a44b6e692
|
white space adjustments
|
2022-06-10 14:03:43 +02:00 |
d.mentock
|
d88a139a41
|
pyflakes bug causes error without comment
|
2022-06-10 12:03:50 +02:00 |
d.mentock
|
afbafd1d98
|
util imports need prefix instead of __all__ definition to prevent namespace pollution
|
2022-06-10 12:00:54 +02:00 |
d.mentock
|
b9214fcc6c
|
Prevent windows overflow error when using numpy dtype=int instead of int64
|
2022-06-02 19:40:18 +02:00 |
Martin Diehl
|
0916922423
|
read Windows/Unix, write Unix line endings
|
2022-03-27 10:03:47 +02:00 |
Martin Diehl
|
f3cf67d3fa
|
avoid code duplication and inconsistencies
|
2022-03-27 09:55:20 +02:00 |
Martin Diehl
|
7f09bbeb08
|
int is 32 bit on Windows (cause trouble for hybrid_IA)
|
2022-03-26 22:06:03 +01:00 |
Martin Diehl
|
135f2e7add
|
allow to use '~' in filenames
no idea how to test, but seems to work
|
2022-03-19 11:10:22 +01:00 |
Philip Eisenlohr
|
f13a4c82da
|
grid.clean/vicinity now uses ball neighborhood; lots of polishing
|
2022-03-09 18:26:52 -05:00 |
Martin Diehl
|
4c941c608f
|
better names and description
|
2022-03-09 15:35:36 +01:00 |
Martin Diehl
|
445d5ec720
|
propagate signals to running commands
otherwise, we have long running processes when GitLab terminates jobs in
a pipeline
|
2022-03-06 21:11:19 +01:00 |
Martin Diehl
|
425d148ea8
|
mypy-safe
|
2022-03-06 19:37:46 +01:00 |
Martin Diehl
|
d7ba853859
|
use None for no selection, empty list is 'nothing'
|
2022-03-05 20:37:47 +01:00 |
Martin Diehl
|
161e4b6815
|
testing new functionality
|
2022-03-04 10:57:49 +01:00 |
Martin Diehl
|
03912b0a03
|
Merge remote-tracking branch 'origin/development' into polishing
|
2022-03-04 03:44:36 +01:00 |
Martin Diehl
|
f9e04bc4cb
|
unifying interface
same same for same functionality, allow user to specify single integer
for convenience
|
2022-02-28 16:14:40 +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 |
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 |
Philip Eisenlohr
|
fe2ab947ec
|
somehow "Sequence" was missing from import
|
2022-02-18 14:50:28 -05:00 |
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 |