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
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