Commit Graph

75 Commits

Author SHA1 Message Date
Martin Diehl 1cf9c59850 standardizing
import follows PEP style guide, encoding not needed for python3
2019-06-14 13:03:30 +02:00
Philip Eisenlohr c706ca5ba3 no progress bars in quite mode 2019-02-26 21:22:49 -05:00
Martin Diehl 7768c5874b simpler interface for progress bar 2019-01-05 10:41:49 +01:00
Philip Eisenlohr b5d62c8e29 [skip ci] print estimated remaining processing time for postResults 2019-01-03 11:31:04 -05:00
Martin Diehl 1f2fbbee21 consistent name 2018-12-10 09:38:57 +01:00
Martin Diehl 08ac49fac0 line too long 2018-12-09 13:21:56 +01:00
Martin Diehl 130fac21c6 cleaning 2018-12-09 13:15:59 +01:00
Martin Diehl d43dfa569b lines too long 2018-12-09 12:37:27 +01:00
Martin Diehl 697d97cd38 cleaned
legacy format was for pre-MPI output where the extra bytes at start and
end of a chunk (Fortran out) had to be handled manually
2018-12-09 12:30:07 +01:00
Martin Diehl 5054291557 python3 compatible status message 2018-12-09 12:25:31 +01:00
Martin Diehl 8ee2de61ea map returns no list any more 2018-11-17 12:12:20 +01:00
Martin Diehl 257d9d5350 needs to be list 2018-11-17 12:12:20 +01:00
Martin Diehl 44bd85a041 not working for python3, trying 2018-11-17 12:12:20 +01:00
Martin Diehl 558745b548 explicitly require python3
on older systems, python3 tpyically exists but python2 is the defaul
2018-11-17 08:12:12 +01:00
Martin Diehl a3647cc587 more files with confirmed python3 compatibility 2018-11-16 09:03:12 +01:00
Martin Diehl 8f80152a03 use floor division of integers
1/2 = 0.5 in python3 (would be 0 in python2)
2018-11-15 12:28:36 +01:00
Martin Diehl efd29e62f7 verbose should be optional
- causes problems on many systems (screwed up output)
- does not work with python 3 since threading class has changed
2018-11-15 12:16:55 +01:00
Martin Diehl 7480d1a842 fixes for Python3 2018-10-19 07:35:59 +02:00
Philip Eisenlohr 14c1291046 added "--quiet" option to suppress online messaging 2017-10-03 14:03:50 -04:00
Philip Eisenlohr 5b8bc65d37 exchanged string 'n/a' for 'nan' to allow smooth parsing as float value 2017-08-28 19:32:59 -04:00
Philip Eisenlohr 66b4e24ab7 solver.Marc.version has no argument anymore 2017-03-20 15:13:54 -04:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Martin Diehl 03bb0b8a98 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-07-18 19:36:47 +02:00
Martin Diehl cd63a92733 using python 2.7 has shebang will also work on mac without symlink
unless someone uses the 6 year old python 2.6, this should be save
2016-07-18 19:35:35 +02:00
zhangc43 0a2d5e4c2a add missing newline to header for postResult 2016-07-18 12:29:12 -04:00
Martin Diehl 325e153d3d import of string not needed 2016-07-18 11:22:53 +02:00
Martin Diehl e3f83b6d66 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-07-18 11:22:12 +02:00
Martin Diehl 1b30b186f4 rootRelation keyword was still used 2016-07-18 06:17:22 +02:00
Martin Diehl 0c2b7782d4 reporting correct ID 2016-07-17 18:18:57 +02:00
Martin Diehl fa5ebdd46b added correct metavar 2016-05-13 09:43:56 +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 57acaba63e Missed out on putting the if..else statement as a bracketed group in a former commit. Next try of getting rid of {True: a,False: b}[choice] style... 2016-04-22 13:19:32 -05:00
Martin Diehl 28423d4b45 increment information got lost 2016-04-21 11:31:02 +02:00
Philip Eisenlohr 8ac40ced5a coordinates of nodal or cell-centered values are always labelled "pos" 2016-04-15 18:23:35 -04:00
Martin Diehl 93d7643875 no long lines anymore and prospector is also happy 2016-03-03 14:44:29 +01:00
Martin Diehl 7c9d344601 python files now report their version depending on VERSION file in $DAMASK_ROOT 2016-01-27 17:06:00 +00:00
Martin Diehl c710709b1a example Makefile typically does not work, deleted 2015-12-15 14:34:03 +00:00
Philip Eisenlohr ad06fc1a77 fixed buggy mapIncremental behavior for anything else than averaging (the standard case luckily…) 2015-10-27 20:16:24 +00:00
Martin Diehl 55dc2b419a warn if unexpected file size is encoutered 2015-09-24 17:07:27 +00:00
Martin Diehl f4d4a8e1ec adopted philips changes for reporting, using pyflakes to clean up 2015-09-24 09:24:42 +00:00
Martin Diehl bceeb0964c corrected calculation of expected file size for legacy files beyond the 4 GB limit 2015-08-10 18:48:48 +00:00
Martin Diehl e8fb49edc6 missing bracket 2015-05-22 06:17:35 +00:00
Philip Eisenlohr df5dd98576 simplified boolean dictionaries to “if else” constructs. 2015-05-21 00:13:11 +00:00
Philip Eisenlohr c05df20370 throw error message when DAMASK output obviously not present in T16 file 2015-04-28 17:54:00 +00:00
Martin Diehl 0544706c7b corrected help for legacy format 2015-04-08 12:51:40 +00:00
Martin Diehl 92a67e1a9d geom_fromAng.py crashed when found empty line (eg. at the end of the file), now fixed 2015-04-01 14:42:25 +00:00
Martin Diehl a1956436be fixed bug introduced last time when searching for keywords in spectralOut header
made reading in of header more robust by explicitly using the information given by fortran specifies the data length
introduced a legacy mode again, now it is used to read old spectralOut files prior to rev 4017
2015-04-01 10:02:21 +00:00
Martin Diehl 913c5347a5 removed handling for old legacy format (we might introduce a new one) 2015-03-29 09:08:42 +00:00
Pratheek Shanthraj 1ee81e74ea more patches to get the tests running again:
- fixed increment counting in postResults to current output scheme

- corrected node coordinates calculation

- some work on restart (restart test still not running)
2015-03-26 21:19:28 +00:00
Pratheek Shanthraj fe4373a9f9 updated post processing script for MPI IO spectralOut file 2015-03-25 16:09:56 +00:00