Philip Eisenlohr
a41871e2ac
Merge branch 'new-ASCII' into 'development'
...
New table class
See merge request damask/DAMASK!104
2019-12-06 14:58:16 +01:00
Philip Eisenlohr
2648a67dcd
fixed sort_by to respect updated index (upon subsequent adding of new data)
2019-12-05 12:02:10 -05:00
Philip Eisenlohr
3caf2c1296
condensing code
2019-12-05 09:05:50 -05:00
Test User
4bc037107b
[skip ci] updated version information after successful test of v2.0.3-1136-gcc67f0e1
2019-12-05 13:35:23 +01:00
Martin Diehl
90fdb24faa
forgotten variable rename
2019-12-05 13:26:33 +01:00
Vitesh
cc67f0e142
Merge branch 'DREAM3D-converter-fix' into 'development'
...
works again and uses DADF5 intrisic features
See merge request damask/DAMASK!109
2019-12-05 11:02:38 +01:00
Martin Diehl
1018b89296
nice to have..
2019-12-05 10:48:42 +01:00
Martin Diehl
53a38e3a97
polishing
2019-12-05 10:37:13 +01:00
Martin Diehl
f885748a58
variable was never used
2019-12-05 08:43:14 +01:00
Martin Diehl
1bf4946e67
invalid escape sequence
2019-12-05 08:37:39 +01:00
Martin Diehl
3af696995d
did not work when piping
2019-12-05 08:36:32 +01:00
Martin Diehl
469d638afb
making table class feature complete
2019-12-05 06:57:09 +01:00
Martin Diehl
ee8e3386f4
shorter but still descriptive names
2019-12-05 06:16:29 +01:00
Martin Diehl
e7a67262f8
clear enough
2019-12-05 06:00:49 +01:00
Martin Diehl
2172e92e7e
test exotic input files
2019-12-05 05:57:47 +01:00
Martin Diehl
5fdf112f78
allow strings as data in ASCII file
2019-12-05 05:45:27 +01:00
Martin Diehl
1c83572589
more descriptive names
2019-12-05 05:11:58 +01:00
Martin Diehl
19c55990ab
works again and uses DADF5 intrisic features
2019-12-04 18:30:08 +01:00
Martin Diehl
07e9778798
one more test
2019-12-04 10:20:57 +01:00
Martin Diehl
1110affec2
Merge branch 'new-ASCII' of magit1.mpie.de:/damask/DAMASK into new-ASCII
2019-12-04 05:10:01 +01:00
Martin Diehl
3effea8e1d
also check operations that should NOT work
2019-12-03 17:03:03 +01:00
Martin Diehl
d92d503b3c
pytest should be part of the test suite
2019-12-03 16:49:27 +01:00
Martin Diehl
f5bbd3cf22
ensure functionality through unit testing
2019-12-03 16:39:54 +01:00
Martin Diehl
ff1778d149
Merge branch 'development' into new-ASCII
2019-12-03 15:56:49 +01:00
Test User
e237d30e99
[skip ci] updated version information after successful test of v2.0.3-1133-gfede8225
2019-12-03 13:28:36 +01:00
Martin Diehl
fede8225bc
Merge branch 'development' into pytest
2019-12-02 12:47:37 +01:00
Test User
a4fdad78a4
[skip ci] updated version information after successful test of v2.0.3-1111-g374980da
2019-11-29 19:04:38 +01:00
Martin Diehl
76a1506893
small improvements
...
bugfix: writing correct labels (now consistent with readin)
error handling for inconsistent initialization
2019-11-28 20:18:54 +01:00
Martin Diehl
ca92400c2f
polishing
...
columns is the term used py pandas
2019-11-28 05:58:28 +01:00
Martin Diehl
374980daea
Merge branch 'development' into no-crystallite
2019-11-27 13:26:47 +01:00
Martin Diehl
80002e6cfd
proper capitalization
2019-11-27 13:21:41 +01:00
Martin Diehl
9035d8d3cb
Merge branch 'development' into pytest
2019-11-27 13:18:20 +01:00
Martin Diehl
a8016d64bb
simplified
2019-11-27 12:31:32 +01:00
Martin Diehl
cee095b58e
better use centralized code
2019-11-27 12:22:28 +01:00
Martin Diehl
7d4b982c73
make information on modifications mandatory
2019-11-27 12:08:23 +01:00
Martin Diehl
76c3577378
pandas.DataFrame needs to be a 2nd order array
2019-11-27 12:03:35 +01:00
Martin Diehl
39734ef53c
alter data
...
allows to access multiple columns ('f') and individual components
('1_f')
2019-11-27 10:56:29 +01:00
Martin Diehl
96714089b1
documented and tested handling of multi-dimensional data
...
more precise regex expressions. get_array can handle individual
components
2019-11-27 09:58:58 +01:00
Martin Diehl
9ad74745c1
missing import detected by prospector
2019-11-27 08:48:41 +01:00
Martin Diehl
ab83dc2ebc
use central facilities
2019-11-27 08:45:01 +01:00
Martin Diehl
eb033e11b2
polishing
2019-11-27 08:44:38 +01:00
Martin Diehl
882a11c5f8
get labels without shape information
2019-11-27 08:43:20 +01:00
Martin Diehl
31d3958ca6
using fast new Table class
...
more a proof-of-concept since shell scripts are deprecated. The detailed
error handling of the former scripts is not implemented, i.e. the user
need to ensure that the files exist and the data has the correct shape
2019-11-26 22:59:42 +01:00
Martin Diehl
2d96136a0d
more general constructor for Table
...
reading from file is just one case (now handled by static method).
General constructor needs data and header information as dictionary.
Works only with python 3.7 where dict keeps the insertion order. Earlier
python versions/other implementations might fail.
2019-11-26 22:53:46 +01:00
Martin Diehl
5661f60552
fname seems to be the common name
2019-11-26 21:36:24 +01:00
Martin Diehl
925a4f73d6
staticmethod better suited than class method
...
a classmethod changes the class, i.e. it assigns attributes and gives
them specific values.
a staticmethod does not alter the class
https://www.geeksforgeeks.org/class-method-vs-static-method-python
2019-11-26 20:32:54 +01:00
Martin Diehl
845cfc34ec
similar logic as in geom class
...
- filename is not part of the object
- transparent handling of files, strings, and path-like objects for file
IO
2019-11-26 14:26:25 +01:00
Martin Diehl
81abc43920
Merge branch 'development' into new-ASCII
2019-11-26 10:29:05 +01:00
Test User
81c739192a
[skip ci] updated version information after successful test of v2.0.3-1097-ga7fca4df
2019-11-26 02:14:29 +01:00
Philip Eisenlohr
a7fca4dfc1
Merge branch 'PythonImprovements' into 'development'
...
Python improvements
See merge request damask/DAMASK!103
2019-11-25 22:31:09 +01:00