Commit Graph

301 Commits

Author SHA1 Message Date
Vitesh f71b1c4dc3 Merge branch 'development' into 'export_DAMASK_to_DREAM3D'
# Conflicts:
#   python/damask/_result.py
2023-10-13 12:21:46 +00:00
Vitesh Shah 8bb193cc70 reset the attribute manager to default 2023-10-09 20:20:34 +02:00
Philip Eisenlohr 983a376f45 bugfix; serial string use 2023-10-04 09:10:11 -04:00
Martin Diehl a0dc25c16e more specific typehints 2023-10-03 23:02:12 +02:00
Vitesh Shah 85010a8d6d the monkey patch should be used only for export Dream3D
Initially  it got activated at the start of _result.py
This led to failure of other tests.
Use the patch only when needed.
2023-10-02 15:11:02 +02:00
Vitesh Shah 5ba83fd05b Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-09-29 08:00:23 +02:00
Martin Diehl 28cb72ced0 simplified 2023-09-25 13:58:17 +02:00
Martin Diehl 8b421ba7a7 simplified 2023-09-23 06:20:25 +02:00
Martin Diehl 36c13d2e58 no need to have this as class method
definition as class method was needed to be visible in multiprocessing
2023-09-22 10:58:25 +02:00
Martin Diehl b0bb904c89 no multiprocessing for adding datasets
multiprocessing was not reliable on different platform and caused all
kinds of weird behavior
2023-09-22 08:36:34 +02:00
Vitesh Shah e4b793cf77 Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-07-05 15:04:08 +02:00
Yi Hu 09858317d8 add m=0 (default) case in docstring 2023-07-04 16:44:31 +02:00
Yi Hu 0e9e37bfb3 Merge branch 'development' into 284-more-friendly-output-name-of-add_strain-or-a-better-presentation-in-documentation-webpage 2023-07-04 16:07:48 +02:00
Vitesh Shah b5b6c2d695 fixed typos and other python warnings 2023-05-04 12:59:56 +02:00
Vitesh Shah c4baca0cb6 fixed typo 2023-05-04 10:49:11 +02:00
Vitesh Shah 3462d41d8e consistent dataset naming eases testing 2023-04-26 12:56:34 +02:00
Vitesh Shah 45cebe3aee better variable naming and splitext 2023-04-26 10:28:17 +02:00
Martin Diehl 62eda982fd drop support for older DADF5 versions
simplifies code a little and 0.14 was already used in alpha5
2023-04-20 19:32:23 +02:00
Vitesh Shah 5dddf792e1 pathlib can give name of the file directly 2023-04-20 10:52:08 +02:00
Vitesh Shah 029b830156 corrected the looping and target dir 2023-04-17 08:03:44 +02:00
Sharan Roongta 7b158f5ec4 Merge branch 'regrid-result' into 'development'
regrid/map when exporting DADF5

See merge request damask/DAMASK!748
2023-04-14 20:05:30 +00:00
Vitesh Shah 2ae1a20443 seems to read the data correctly 2023-04-06 21:42:34 +02:00
Vitesh Shah f619cf4ff2 making export DREAM3D compatible with results class 2023-04-06 20:56:42 +02:00
Martin Diehl 03768e14dc Grid loadcase 2023-03-27 17:33:11 +00:00
Martin Diehl d2e85ef15b regrid/map when exporting DADF5 2023-03-25 07:40:21 +01:00
Martin Diehl b11ad8c774 helpful information on strain calculation 2023-03-24 12:34:51 +01:00
Sharan Roongta 95017b252f typo in example 2023-02-24 14:16:16 +01:00
Philip Eisenlohr 06201da5e2 Improvements to Python docstrings 2023-02-21 15:27:06 +00:00
Martin Diehl a45a86cfbf mark DADF5 file layout as stable 2023-02-04 09:55:23 +01:00
Martin Diehl e658f3126b guide choice of strain measure that makes sense 2022-12-29 20:29:13 +01:00
Martin Diehl dcdc4acbd5 Unified object.comments as list[str]; simplifications of Python code 2022-12-13 18:32:19 +00:00
Philip Eisenlohr 6315f97f4a added explicit Optional type hint 2022-11-22 16:26:15 -05:00
Philip Eisenlohr 349a39609e Robust translation for view.times 2022-11-11 06:03:14 +00:00
Philip Eisenlohr 5c6d21e9cf only create subdir when dataset 2022-11-09 17:32:14 -05:00
Philip Eisenlohr 4f6a1720cc recursive list of setup files; no printing but PermissionError 2022-11-09 17:32:14 -05:00
Philip Eisenlohr 1a748ec5aa shorter function name; setup_files is property 2022-11-09 09:39:47 -05:00
Daniel Otto de Mentock 836feaa5f4 polishing 2022-11-09 12:48:48 +01:00
Daniel Otto de Mentock 1cdb7ef09f function to list available setup files can be useful 2022-11-09 12:48:37 +01:00
Daniel Otto de Mentock ce7d2af6e3 simulation setup export function naming and description was inaccurate 2022-11-09 12:47:47 +01:00
Martin Diehl 59150b791f support the user 2022-11-08 12:39:38 +01:00
Philip Eisenlohr 13d0f3ae8a more precise description of `times_in_range` 2022-11-07 12:21:26 -05:00
Philip Eisenlohr f88ac18c8a consistent "optional" in parameter description 2022-11-07 12:18:00 -05:00
Martin Diehl 015f1ec741 possibility to export into new DADF5 file 2022-11-07 10:10:13 +01:00
Daniel Otto de Mentock 2c3da9c1bf added custom path export option to Result.export_* functions 2022-11-06 18:10:23 +00:00
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