Commit Graph

38 Commits

Author SHA1 Message Date
Philip Eisenlohr 64259d9239 bug fixed in whitelist sorting, more robust against numpy parsing errors 2017-08-28 19:38:14 -04:00
Philip Eisenlohr 9e5896a6c5 large speedup (10x) for unconditional filtering by using read/writeArray 2017-08-23 20:54:02 -04:00
Philip Eisenlohr e6cc948ddf added vector-valued conditions and cleaned obsolete code 2017-08-11 15:19:47 -04:00
Philip Eisenlohr 0f04ddd88e polishing of whitespace, usage help, etc. 2016-11-29 14:44:34 -05: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
Aritra Chakraborty 515b8ee457 reworked use of "labels" property to proper methods for access. 2016-05-16 19:55:06 -04: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 e39441f36b corrected usage message to tell about string comparison in filter condition 2016-03-17 19:02:30 -04:00
Martin Diehl 98476ea29c more improved scripts 2016-03-01 21:35:59 +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 863fe5ddf0 needs modules “math” and “random” for user-supplied conditions…
(do not remove through pyflakes—shall we introduce dummy code to keep the modules “active”?)
2015-09-29 22:27:07 +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
Tias Maiti c9dcb41bac fixed sorting logic to respect numerical values of vector data (i.e. 1,2,3,….,10,11,… instead of 10,11,12,1,2,…) 2015-09-08 23:55:44 +00:00
Philip Eisenlohr 3e65c324de adopted changes in ASCIItable API 2015-08-12 21:52:33 +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
Philip Eisenlohr 54746c85d3 fixed bug for only blacklisting. 2015-05-28 22:31:32 +00:00
Philip Eisenlohr c327735c0d order of whitelist is maintained in output (only if no blacklist is specified). allows to rearrange column order in tables. 2015-05-27 23:02:11 +00:00
Martin Diehl 2102fadfc7 improved help for automatic documentation 2015-05-11 19:47:52 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Philip Eisenlohr f6741138e7 had badly messed up the file handling in commit 3630. STDIN did not work, files were not checked for existence… 2014-10-29 13:27:40 +00:00
Martin Diehl bdd2d55383 small bug fix for last commit 2014-10-24 06:36:01 +00:00
Philip Eisenlohr 13ba71a314 fixed bug where option.condition was altered in processing of first file, thus preventing additional files from seeing the same user input.
changed file handle setup to allow for large lists of input files.
2014-10-23 21:23:10 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Martin Diehl 649e637561 added some more post processing tests and improved output 2014-08-06 19:06:33 +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 16743f8631 explicitly state unbuffered ASCIIoutput 2014-03-28 18:15:37 +00:00
Philip Eisenlohr 10c8a1a3ce corrected typo in usage hint 2013-12-12 02:35:01 +00:00
Philip Eisenlohr 538a471246 updated $Id$ handling.
added (colored) my script's name reporting.
2013-09-09 14:12:00 +00:00
Philip Eisenlohr b572c71db0 fixed small bug in error reporting (missing column head complaint was broken...) 2013-04-16 20:10:17 +00:00
Philip Eisenlohr 2d4cf7da74 conditions can handle string data.
use "#s#label#" format to indicate that column headed by "label" contains strings (not floats)...
2012-12-03 14:29:21 +00:00
Philip Eisenlohr f446d4d87e added wildcard matching ( "?", "*", "[(!)sequence_of_characters]" ) for ASCII table labels 2012-11-29 10:42:13 +00:00
Philip Eisenlohr ff4c281ed2 fixed whitelist/blacklist behavior (blacking out overrides whitelisting)
now broken pipes stop script's outputting.
2012-02-16 18:47:07 +00:00
Philip Eisenlohr a994b4bcc9 fixed problem when condition was empty 2012-02-16 18:00:40 +00:00
Philip Eisenlohr edd5adafd0 now with ID and correct line endings... 2012-02-16 08:58:07 +00:00
Philip Eisenlohr 37bd65ea34 script to filter an ASCIItable by condition. each row is evaluated against the condition, columns can be black- or white-listed (white wins)... 2012-02-16 08:36:35 +00:00