Commit Graph

30 Commits

Author SHA1 Message Date
Martin Diehl 12d7fa7fda migrated to new class 2020-04-23 09:59:31 +02:00
Martin Diehl 75280b9fb4 correct conversion for python3 2020-02-21 11:02:31 +01:00
Martin Diehl e93f5c84ff 'buffered' has no effect any more 2020-02-20 15:05:38 +01:00
Martin Diehl ff41061759 no bare 'except' 2020-01-28 23:39:46 +01:00
Martin Diehl ea560ee167 typo 2020-01-26 15:14:16 +01:00
Martin Diehl 1cf9c59850 standardizing
import follows PEP style guide, encoding not needed for python3
2019-06-14 13:03:30 +02:00
Martin Diehl 802ef6fe5c more precise help 2019-02-16 18:25:41 +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 26811b74d6 known to work with python3 2018-11-16 09:18:29 +01: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
Martin Diehl a21e8cd863 usind explicitly python2 to run in environments with python 3 as default 2016-05-11 11:01:39 +02:00
Martin Diehl f77de7ac6e adjusting style (mainly long lines an "== None") 2016-03-02 10:52:24 +01:00
Martin Diehl 2a50c6bf86 using prospector --tool=dodgy --tool=pyflakes -M to find python flaws 2016-03-01 18:25:14 +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
Philip Eisenlohr 937634d703 added group shuffling (i.e. exchanging unique values) 2015-12-04 01:17:45 +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 5f9fae1b75 simplified reporting using "emph" 2015-09-11 12:55:43 +00:00
Philip Eisenlohr 70daa8663f adoption of new ASCIItable API 2015-08-18 14:37:32 +00:00
Philip Eisenlohr d4e748b654 outsourced multiple repetitive functions into ASCIItable class.
changed ASCIItable API from file-handles to filenames.

adopted these changes in pre and post processing scripts.

unified behavior and look.

fixed bugs here and there.

improved functionality.
2015-08-07 19:03:26 +00:00
Martin Diehl 5900fa4bf5 corrected defaults and simplified loops 2015-05-25 10:49:20 +00:00
Martin Diehl 737e474cea consistent handling of random number per file and always reporting as comment, fix for permuteData needed because of new asciitable behavior 2015-05-22 05:56:49 +00:00
Martin Diehl fbfa55e910 adjusted to new table style and naming of output 2015-05-22 04:57:05 +00:00
Philip Eisenlohr 9eae665365 fixed ‘too many files open’ issue when processing a large list of input tables. 2015-02-11 17:22:47 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Martin Diehl 15a6015bc2 added some more post processing tests
DAMASK env now reports in MiB (GiB is too big for small machines)
2014-08-07 16:51:26 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Philip Eisenlohr e20ffb379d changed numpy.readtxt logic from "data_asArray" returning a copy to inplace "data_readArray" now directly storing into self.data 2013-12-14 03:51:22 +00:00
Philip Eisenlohr d498eca242 deleted left-over debug statement 2013-11-26 20:22:52 +00:00
Philip Eisenlohr b63d2eafe8 new scripts for:
-generating vtk point cloud from x,y,z ASCIItable data
-adding scalar values and color tuples from ASCIItable to vtk point cloud
-permuting data in ASCIItable columns (used to shuffle ordered grain indices)
2013-11-26 20:19:27 +00:00