Commit Graph

16457 Commits

Author SHA1 Message Date
Martin Diehl 213e8aa4be avoid monkey patching 2023-12-04 21:50:02 +01:00
Martin Diehl 7a5e08c14d consistent name 2023-12-04 19:59:01 +01:00
Martin Diehl faedb49a20 simplified 2023-12-04 19:33:40 +01:00
Martin Diehl ab24d444fc limit to structures available in DAMASK 2023-12-04 19:25:41 +01:00
Vitesh Shah 9e51ab160c ditching the patched copy approach
Further details or things to look at:
2a48bf504e (note_12028)
2023-12-01 12:34:59 +01:00
Vitesh Shah 338fce8b5d nested methods and attributes need to added individually 2023-11-28 12:52:57 +01:00
Vitesh Shah 05da811afe adding ._hl method to modified h5py class
Simple loading of module from importlib misses the extra methods and
attributes associated with h5py.
For h5py._hl is missing which is needed for nullterm strings in
attributes.
2023-11-28 09:45:51 +01:00
Vitesh Shah 1cf8696cbb correct crystal structure array shape 2023-11-27 15:51:02 +01:00
Vitesh Shah 986d6a5973 compare the bytes types better 2023-11-27 15:34:02 +01:00
Vitesh Shah e3d85e09c8 even with patched copy the class needs to called 2023-11-27 14:00:17 +01:00
Vitesh Shah b1c2e51528 name correction 2023-11-27 11:10:37 +01:00
Vitesh Shah 30b546f2dd message in case of unstructured grids and more constituents 2023-11-24 08:03:16 +01:00
Vitesh Shah fb823c81e7 not needed since patched copy of module is used 2023-11-24 07:55:41 +01:00
Vitesh Shah 2a48bf504e attempting patched copy of h5py
https://stackoverflow.com/questions/11170949/how-to-make-a-copy-of-a-python-module-at-runtime
2023-11-24 07:55:41 +01:00
Vitesh Shah 597175d8fd tests for PhaseName and CrystalStructure datasets and their attributes 2023-11-24 07:55:41 +01:00
Vitesh Shah 66dc5af5e0 needs specific datatype to write string arrays 2023-11-24 07:55:40 +01:00
Vitesh Shah 5dd9445f58 polishing 2023-11-24 07:55:03 +01:00
Vitesh Shah 56a9dd843c polishing 2023-11-10 12:56:18 +01:00
Vitesh Shah 562e2ea932 updated the files 2023-11-10 12:45:02 +01:00
Vitesh Shah df697981ee avoid file duplication 2023-11-10 12:45:02 +01:00
Vitesh Shah a257fe3e1f updated the resource files 2023-11-10 12:45:02 +01:00
Vitesh Shah 27168f2234 get crystal structure info from DADF5 2023-11-10 12:45:01 +01:00
Vitesh Shah 796e1ae2d5 increment number with leading zeroes 2023-11-10 12:45:01 +01:00
Vitesh f71b1c4dc3 Merge branch 'development' into 'export_DAMASK_to_DREAM3D'
# Conflicts:
#   python/damask/_result.py
2023-10-13 12:21:46 +00:00
Daniel Otto de Mentock 3517c7dee3 Merge branch 'petsc-3.20' into 'development'
PETSc 3.20

See merge request damask/DAMASK!834
2023-10-13 11:14:57 +00:00
Vitesh Shah 556ac6bfed legacy code not needed anymore 2023-10-13 11:27:35 +02:00
Vitesh Shah 8bb193cc70 reset the attribute manager to default 2023-10-09 20:20:34 +02:00
Martin Diehl 57e02bb991 PETSc 3.20 2023-10-09 20:10:05 +02:00
Test User c48cee1af2 [skip ci] updated version information after successful test of v3.0.0-alpha7-880-g3644fe586 2023-10-09 17:09:09 +02:00
Philip Eisenlohr 3644fe586a Merge branch 'test_YAML_types' into 'development'
testing YAML_types

See merge request damask/DAMASK!832
2023-10-09 13:04:59 +00:00
Test User 0c7384b95d [skip ci] updated version information after successful test of v3.0.0-alpha7-877-g5fc3b23cc 2023-10-07 02:22:05 +02:00
Martin Diehl 5fc3b23cc4 Merge branch 'smart-blend' into 'development'
robust Rotation/Orientation blending

See merge request damask/DAMASK!831
2023-10-06 22:14:31 +00:00
Philip Eisenlohr 51a35dd17c correct in_disorientation_FZ 2023-10-06 09:41:36 -04:00
Test User 23ec58fb4a [skip ci] updated version information after successful test of v3.0.0-alpha7-871-g4f2c726b9 2023-10-06 14:10:11 +02:00
Daniel Otto de Mentock 4f2c726b95 Merge branch 'result-typehints' into 'development'
more specific typehints

See merge request damask/DAMASK!825
2023-10-06 08:43:37 +00:00
Martin Diehl b26398319b testing YAML_types 2023-10-05 22:58:31 +02:00
Philip Eisenlohr 634f9fd1f5 extended slicing types, but have to ignore..! 2023-10-04 10:38:03 -04:00
Philip Eisenlohr afe2094c65 remove debug print 2023-10-04 10:29:55 -04:00
Philip Eisenlohr 550c757cdc overall smart blending; more robust disFZ 2023-10-04 09:42:09 -04: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
Test User 05e675bbdb [skip ci] updated version information after successful test of v3.0.0-alpha7-867-g026dd3c14 2023-09-29 18:53:37 +02:00
Franz Roters 026dd3c14b Merge branch 'large-tmp' into 'development'
TMPDIR controls the behavior of mktemp

See merge request damask/DAMASK!829
2023-09-29 14:50:40 +00:00
Vitesh Shah fc44112109 change of variable name after merge 2023-09-29 09:23:58 +02:00
Vitesh Shah 5ba83fd05b Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-09-29 08:00:23 +02:00
Test User 77675e5890 [skip ci] updated version information after successful test of v3.0.0-alpha7-864-g9cf37c493 2023-09-28 15:32:49 +02:00
Martin Diehl baf04ad5eb TMPDIR controls the behavior of mktemp 2023-09-28 11:52:34 +02:00
Martin Diehl 9cf37c4939 Merge branch 'test-polynomials' into 'development'
add polynomials to DAMASK_test

See merge request damask/DAMASK!827
2023-09-28 09:36:44 +00:00
Martin Diehl f1b0f68000 do not report "self coverage" 2023-09-28 07:20:09 +02:00