Commit Graph

445 Commits

Author SHA1 Message Date
Franz Roters b34a60d2f4 added support for Marc2016 2016-10-28 09:16:20 +02:00
Martin Diehl ac5f19f1f6 docstring fixes 2016-10-25 21:19:05 +02:00
Martin Diehl b74db4e301 bug fix for potentially undefined variable 2016-10-25 19:30:13 +02:00
Martin Diehl 95fb50272f adopted to python 3.
for replacement of cmp function, see https://docs.python.org/3.0/whatsnew/3.0.html
it's recommended to remove it completely
2016-10-25 06:51:40 +02:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Martin Diehl a84e7310f5 fixed prospector hints 2016-10-24 20:30:51 +02:00
Philip Eisenlohr ff2f827a68 strip outermost quotes from labels 2016-10-18 15:33:24 -04:00
chen 51e408a5bf fix error regarding log
if no log is provided when adding data, use None
2016-10-17 18:24:26 -04:00
chen 434514e0f2 allow overwriting existing dataset
modification to the data is logged
2016-10-14 14:30:04 -04:00
chen 87b857d307 update some comments 2016-10-14 12:05:36 -04:00
Chen e9ff0a2434 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-10-14 10:45:57 -04:00
chen 07d9ef9ba1 change indentation to 4 sapces
PEP8 checking suggestions
2016-10-14 10:41:35 -04:00
Martin Diehl 75149cc0cd h5py is not available on IronPython (Abaqus python environment) 2016-10-14 07:04:46 +02:00
chen c311ac47ca force using rectangular mesh
Paraview cannot handle large number of polyvertices using xdmf, forcing a meshed structure to by pass the problem.
2016-10-12 20:20:15 -04:00
chen 280f8f7c2b correct docstring according to PEP requirement 2016-10-09 19:09:45 -04:00
chen 4dece54019 minor syntax error 2016-10-09 19:07:41 -04:00
chen cc5e0721e0 coding style fix 2016-10-09 19:06:24 -04:00
chen e9c1068c99 mimic other sub modules in DAMASK for H5Table 2016-10-09 19:03:28 -04:00
chen 912aa6989c H5Table support customize data storage layout 2016-10-09 18:59:50 -04:00
chen 753bdfd5a9 adding more definition 2016-10-09 18:59:06 -04:00
chen 52813351be add comments at class level 2016-10-09 17:19:49 -04:00
chen f992edd3e9 add import at package level 2016-10-09 17:19:30 -04:00
chen 0c2c450659 adding more comments
explaining the reason for this interface class and its simplified API design
2016-10-09 17:13:40 -04:00
chen fad9938a8b add cmd history as root attributes 2016-10-09 17:06:56 -04:00
chen 012b702f7a finish h5table class 2016-10-07 17:43:52 -04:00
chen 859e3584ca add log for demo 2016-10-07 17:43:27 -04:00
chen 83dae7f9a8 add data manipulator 2016-10-07 16:41:17 -04:00
chen 491b4e31ec add function to extract path based on label 2016-10-07 15:33:43 -04:00
chen 753d71965e data structure file for HDF5 2016-10-07 15:31:29 -04:00
chen e148ecc3e3 quick hack to locate the HDF5 data structure def file 2016-10-07 10:46:07 -04:00
chen 2cbec97eab update xml definition of data structure in HDF5 2016-10-07 10:45:31 -04:00
chen 7262ed9a17 use xml file showing the data structure in HDF5 2016-10-07 10:00:03 -04:00
chen aae2bcf6f9 add new interface class to HDF5 2016-10-07 09:47:15 -04:00
Martin Diehl e20623845a Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-22 16:14:07 +02:00
Martin Diehl 6fade15323 no blank lines after docstring 2016-09-21 17:46:53 +02:00
Martin Diehl 9e3c54b0e3 a few comments and adjusted calculation 2016-09-21 17:06:50 +02:00
Martin Diehl 7291c20cd4 added reference 2016-09-21 17:06:50 +02:00
Martin Diehl e5ba508080 added funtionality to run selected test only and functionality to show available tests 2016-09-20 07:10:07 +02:00
Martin Diehl fbacdd8e6d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-11 19:17:35 +02:00
Martin Diehl 9d7cad1fa4 python3 compatible solutions that still work on python2 2016-09-11 19:03:32 +02:00
Martin Diehl 0b4e75c201 update function was not working due to name clash for self.update 2016-09-10 20:44:46 +02:00
Martin Diehl 590f42cdb6 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-09 22:35:44 +02:00
Martin Diehl 1e16ebe2ef not used any more 2016-09-08 08:45:46 +02:00
Martin Diehl 4bbd69309d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-05 01:29:09 +02:00
Philip Eisenlohr 6f843ce85b Merge remote-tracking branch 'refs/remotes/origin/development'
Conflicts:
	lib/damask/test/test.py
2016-09-04 18:55:13 -04:00
Philip Eisenlohr cde7de4e9f improved superclass handling and compare_Tables 2016-09-04 18:46:53 -04:00
Martin Diehl 221d3753f0 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-04 19:07:15 +02:00
Martin Diehl 6ea7eeee08 bugfix when restoring old behavior 2016-09-04 07:34:58 +02:00
Martin Diehl d94db61534 update only supported by minority of the tests 2016-09-03 17:01:10 +02:00
Martin Diehl c05307a273 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-03 14:35:53 +02:00
Chen d41ac4e463 remove white space in docstring 2016-09-02 14:35:23 -04:00
Chen 4c6b8c490f change one-line docstring to fit in one line. 2016-09-02 14:34:35 -04:00
Chen b16046fd43 remove unused import for test.py 2016-09-02 14:31:00 -04:00
Chen 2b3faf204c make table compare normalize data by type (scaler, vector, tensor) 2016-09-02 14:30:08 -04:00
Philip Eisenlohr 32c4a20a46 clean up, added --debug to base class, renamed testPossible to feasible 2016-09-01 15:37:49 -04:00
Philip Eisenlohr f9c3d335fc two new methods to convey deemphasis and deletion 2016-08-25 11:59:04 -04:00
Martin Diehl c2b1499d84 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-08-16 12:46:03 +02:00
Philip Eisenlohr 6bdce9b332 fixed error for completely empty label list in read_array 2016-08-11 14:22:07 -04:00
Martin Diehl 0219a5f0e3 regex match 2016-08-01 17:01:13 +02:00
Philip Eisenlohr 0056f05b9d all functions using angles now feature logical "degrees" 2016-07-31 19:33:26 -04:00
Martin Diehl b02bbc77d8 correctly handling whitespace 2016-07-31 15:20:44 +02:00
Philip Eisenlohr bb5070b52f util.report without mandatory arguments
reporting can now omit either "who" or "what". cleaner output in case of no "who"...
2016-07-18 10:20:39 -04:00
Martin Diehl 9441ee7326 removed obsolete root relation 2016-07-16 09:36:15 +02:00
Martin Diehl 7f67ff05fd used in both functions 2016-07-15 16:53:57 +02:00
Martin Diehl 0b145826a6 unicode docstring does not work for abaqus, but if using ö pyflakes wants to have a unicode docstring 2016-07-15 16:51:49 +02:00
Martin Diehl ade6db3f9c uses version string from CONFIG file 2016-07-14 16:12:05 +02:00
Martin Diehl 787a8da1c3 removed remainders of Corientation compilation 2016-07-14 16:10:59 +02:00
Martin Diehl 9e3f4b1ec4 unicode string caused trouble with Abaqus' IronPython 2016-07-14 16:09:04 +02:00
Martin Diehl 3314e5f051 updated symlinking, removed unused "rootRelation" 2016-07-14 15:11:49 +02:00
Martin Diehl 83e1970f71 now working with tcsh 2016-07-14 12:24:55 +02:00
Martin Diehl 0fbb56a6ef python env reads from $DAMASK_ROOT/CONFIG 2016-07-14 10:42:22 +02:00
Martin Diehl be02300d38 print statement disturbs shell piping 2016-07-04 21:44:59 +02:00
Martin Diehl 4f683d1974 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-07-03 11:47:56 +02:00
Martin Diehl 759126b906 compatible to python3 2016-07-03 11:44:01 +02:00
Martin Diehl af4307ea72 Merge branch 'NoCoreModule' into development 2016-07-01 15:08:47 +02:00
Martin Diehl fa13aa30b0 python 3 at least imports the damask module now 2016-07-01 15:03:25 +02:00
Martin Diehl 259ee072a6 Merge branch 'development' into NoCoreModule 2016-06-27 15:35:46 +02:00
Philip Eisenlohr d669cfb024 removed obsolete importing of sys 2016-05-17 11:15:04 -04:00
Philip Eisenlohr 0c1657693f dirty (but working) fix to adopt table.labels now being table.tags: table.labels --> table.labels(raw = True) 2016-05-17 10:52:21 -04:00
Philip Eisenlohr 9103ee544b Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-05-17 09:52:18 -04:00
Aritra Chakraborty 8d6c601a45 fixed python flake complaints. 2016-05-16 20:17:17 -04:00
Aritra Chakraborty 1c36380a8a fixed typo... 2016-05-16 20:05:57 -04:00
Aritra Chakraborty dc6260be58 changed "labels" property to "tags". added method to inquire about (abstract) labels, i.e. interpreting the tag list to distill underlying label "meaning". 2016-05-16 19:54:00 -04:00
Philip Eisenlohr 280076e7ef removed (probably obsolete) warning about missing h5py module. 2016-05-11 10:04:01 -04:00
Martin Diehl d3ee2c05b9 =removed remaining IDs 2016-05-11 11:43:21 +02:00
Martin Diehl 7f24fe15ed removed svn ID from python files 2016-05-11 11:37:59 +02:00
Martin Diehl a21e8cd863 usind explicitly python2 to run in environments with python 3 as default 2016-05-11 11:01:39 +02:00
Philip Eisenlohr 5d4d78b079 expanded functionality to treat (white space-containing) strings and empty ("") data. 2016-04-28 23:11:06 -04:00
Martin Diehl 7ce208019c Merge branch 'development' into miscImprovements 2016-04-25 12:36:02 +02:00
Philip Eisenlohr ea24becdd4 added "report_geom" shortcut to croak geometry info 2016-04-24 11:20:55 -05:00
Philip Eisenlohr 45e237058b fixed malfunctioning table.label_indexrange(listOfLabels). can now be used as numpy slice. 2016-04-24 10:07:37 -05:00
Philip Eisenlohr 54dec3ea2a remove CR and LF from labels and info lines. Can happen if multiline shell input is parsed... 2016-04-20 15:46:39 -04:00
Martin Diehl 72639d174b fortran code was translated by philip 2016-04-15 00:25:12 +02:00
Martin Diehl 0632dc1308 pyflakes complained 2016-04-15 00:22:41 +02:00
Martin Diehl 573d10f1e1 Merge branch 'development' into NoCoreModule 2016-04-15 00:05:38 +02:00
Martin Diehl 82063494fd adopted to new json format of paraview
introduced "standard" colormaps for stress, strain, and orientation
file is now implicit the first argument without key (in line with other scripts)
2016-04-11 19:47:07 +02:00
Philip Eisenlohr da29b1a361 removed line continuation characters (not needed within parentheses) 2016-04-05 13:29:36 -04:00
Philip Eisenlohr 73640587d5 fixed buggy query-by-label-index 2016-03-27 16:26:51 -04:00
Martin Diehl 3824b683bc removed extra cython file, symlink to standard orientation instead 2016-03-24 15:06:04 +01:00
Martin Diehl c73382e51f further cleaning 2016-03-24 14:36:24 +01:00