Commit Graph

82 Commits

Author SHA1 Message Date
Martin Diehl fa1368204d fixed bug in asciitable when updating labels for readArray, fixed checking for euler angels presence in tessellation, improved help 2015-05-14 17:07:50 +00:00
Martin Diehl b60f868a76 renumbering asciitable when readArray for selected columns only
test no longer for deleteColumn
2015-05-10 11:29:11 +00:00
Philip Eisenlohr d5e2e42f21 file handle closing can now be done from within class.
methods:
.input_close()
.output_close()
2014-08-22 15:37:46 +00:00
Martin Diehl a8ced53b59 fix for the fix. now both, single column and single line files are working 2014-08-07 08:51:25 +00:00
Martin Diehl 1402527f48 fixed nasty bug cause strange behavior for voronoi tessellation 2014-08-06 19:32: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 4e5803fc36 forgot to clear readBuffer upon data_rewinding... 2014-02-06 16:37:45 +00:00
Philip Eisenlohr ccb950f3d8 checked Unix command piping conformity -- seems to now work:
seeds_fromRandom |
geom_fromVoronoiTessellation |
geom_grainGrowth |
geom_unpack |
geom_pack

However, grainGrowth functionality seems broken...
2014-02-03 23:44:29 +00:00
Martin Diehl 83e4bc3247 updated test for restart, now also checking if number of increments is the same
fixed output of test class
fixed small bug? in asciitable.py, @philip: please check
2014-02-03 19:30:28 +00:00
Martin Diehl 2f1db8f69a introduced delimiter option (default = tab) for ascii table output, use space for geometry files 2013-12-17 08:16:29 +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 0e84db8f19 improved stability of xxx_append commands when dealing with iterable content 2013-12-12 02:36:05 +00:00
Philip Eisenlohr 9c7335f799 bug fix: wrong variable name "label" --> "labels" 2013-12-11 14:38:09 +00:00
Philip Eisenlohr c1b5b802ec fixed problem of adding strings in "data_append" resulting in infinite recursion.
more gracefully check for problems.
numpy.loadtxt now correctly transposes single column of data.
2013-12-09 15:45:18 +00:00
Philip Eisenlohr 05fa8bf580 make data_append() coping with any iterable data type (not just list) 2013-11-25 18:58:27 +00:00
Philip Eisenlohr ec6440f1f4 when adding labels now making sure that they get processed during output writing 2013-10-08 13:54:13 +00:00
Martin Diehl 3eb8aa1362 checked for python3 compatibility:
use "print('foo')" instead of "print 'foo'"
and "except(error) as e" instead of "except error,e"
2013-09-14 10:52:02 +00:00
Philip Eisenlohr 9abc9a99fc added possibility to
* read ASCIItable not having labels
* write numpy array as data
2013-06-30 00:21:51 +00:00
Philip Eisenlohr dc746119e3 introduced two more helper functions:
- labels_index
- data_asArray
2012-12-06 21:46:19 +00:00
Martin Diehl 31753be16f updated setup/setup_processing.py with new files
added data_readLine(LINE) and data_skipLines(LINES) for ascii table
2012-04-18 11:42:57 +00:00
Martin Diehl 3f1c16e079 removed headerLen completely, use len(self.info)+1 instead 2012-03-09 14:18:48 +00:00
Philip Eisenlohr 6b8bebad49 removed unused headerLen property. added info_clear() method 2012-02-23 13:54:38 +00:00
Philip Eisenlohr 58fdf4ebfc improved STDOUT | STDIN constructs -- no more broken pipe left-overs (I hope) 2012-02-16 18:42:04 +00:00
Philip Eisenlohr c24f258eba now works with piped STDOUT | STDIN constructs. 2012-02-16 18:03:14 +00:00
Philip Eisenlohr d642730776 added method to set data value in given column (by name) 2012-02-15 14:50:51 +00:00
Philip Eisenlohr 8671b8ed38 script to delete existing columns from ASCIItable 2012-02-14 12:04:37 +00:00
Philip Eisenlohr a3e47b2d65 added method to return data as list of floats.
safer check whether ASCII file has ended.
2012-02-02 17:13:51 +00:00
Philip Eisenlohr 3c87d20353 added capability to rewind to beginning of data 2012-01-19 20:37:53 +00:00
Philip Eisenlohr aba4703463 added property "headerLen" 2012-01-18 09:30:50 +00:00
Philip Eisenlohr 429af90ccb added Id flag and content
added "core" package capability
2011-12-22 10:30:25 +00:00
Christoph Kords 2bfbb97c11 import of re module was missing 2011-12-18 15:49:44 +00:00
Philip Eisenlohr 4faded6297 started DAMASK Python package... 2011-12-13 20:02:26 +00:00