Commit Graph

101 Commits (master)
 

Author SHA1 Message Date
Jan Petykiewicz c9adca61b6 get_pathext may return None 4 years ago
Jan Petykiewicz 1a259a1c19 Improve ctrapezoid validity checking
width/height might be None; check them against each other only if they
aren't. Also, perform checks after dedup/adjust.
4 years ago
Jan Petykiewicz 3af40dd1bc Use a dummy unit of -1 when reading (to satisfy type checker) 4 years ago
Jan Petykiewicz 8fb2f2b594 fix attempted access to xname.string -> xname.bstring 4 years ago
Jan Petykiewicz cfb3e90d71 Fix XYmode.absolute 4 years ago
Jan Petykiewicz 7f0c46525e improve type annotations 4 years ago
Jan Petykiewicz e9cf010f54 fix read_u32 4 years ago
Jan Petykiewicz 06de10062d Additional error checking 4 years ago
Jan Petykiewicz 62fca39a69 Modernize comments and type annotations. Ugly commit with a couple code fixes:
- modal variable name change: path_halfwidth -> path_half_width
- Fixed `hasattr(other, 'as_list')` calls in __eq__() functions
4 years ago
Jan Petykiewicz 6f2200c5ed Faster/simpler cumsum approach in read_point_list
Reqires a special case for ndarrays in dedup_field() -- probably a good
idea anyways if user gives us an ndarray
4 years ago
Jan Petykiewicz e046af8ce8 Handle more error cases 4 years ago
Jan Petykiewicz 533c85b249 Fix conditional for writing real-typed properties 4 years ago
Jan Petykiewicz bb9ebfc8f9 Generate a warning instead of printing 4 years ago
Jan Petykiewicz f4eeb50a6f Fix incorrect calls to .write() 4 years ago
Jan Petykiewicz 58b4f4a40f Some minor docstring/readme updates 4 years ago
Jan Petykiewicz b5a7c9a7ad fix non-numpy read_bool_byte 4 years ago
Jan Petykiewicz deb0fe3bef Bump version to 0.5 5 years ago
Jan Petykiewicz e0c2947865 trim down classifiers 5 years ago
Jan Petykiewicz e514ade2b1 Use fatamorgana/VERSION file to single-source version number
`import fatamorgana` inside setup.py could break if dependencies weren't
satisfied
5 years ago
Henk van der Laak 203a520770 Read type0,1 pointlist correctly 5 years ago
Henk van der Laak ab175641fe Turn <3 points polygon exception into warning 5 years ago
jan dbe033fdb7 Bump version number (0.4) 6 years ago
jan 3db93d18ed Use version number from module in setup.py 6 years ago
jan 5f685b601b Fix type hint 6 years ago
Jan Petykiewicz d154ef23df Bump version number 6 years ago
Jan Petykiewicz ef8c5f9368 Use README.md as long_description in setup.py 6 years ago
Jan Petykiewicz 85e122622b Ignore build directories in git 6 years ago
Jan Petykiewicz f147c394c7 Bump version number
And include version in __init__.py
6 years ago
Jan Petykiewicz 9133245d49 Add debug logging for cblock read() 6 years ago
Jan Petykiewicz af60d73427 Add missing type hint 6 years ago
Jan Petykiewicz b1844d6b0d Layer names should be NStrings
Not sure about this -- maybe they're actually AStrings, in which case
the LayerName constructor also needs to change
6 years ago
Jan Petykiewicz 6cef118534 Fix Circle reader reporting incorrect record id 6 years ago
Jan Petykiewicz 28cdb34b08 ctrapezoid_type may be None (modal) 6 years ago
Jan Petykiewicz 055b2b35af delta_a should be negative for a canonical Trapezoid 6 years ago
Jan Petykiewicz 493109954b Fix variable name typo in PropString 6 years ago
Jan Petykiewicz ffb211b009 Add default for CBlock decompression_args 6 years ago
Jan Petykiewicz 07cfe9a74d Log debug info when reading records 6 years ago
Jan Petykiewicz 7f0af7d579 Fix XYMode constructor 6 years ago
Jan Petykiewicz 0cb4cf4d4b Add generic debug logging to records 6 years ago
Jan Petykiewicz daf301dfce Fix reading CELL records with id 14 6 years ago
Jan Petykiewicz 65e03d67d6 Use logging module for printing 6 years ago
Jan Petykiewicz 4a6a8b6c5d Fix reader for octangular point lists 6 years ago
Jan Petykiewicz acd4e96db0 Return more info when encountering an invalid repetition_type in ArbitraryRepetition 6 years ago
Jan Petykiewicz 10ffcc18ea Fix crash in ArbitraryRepetition 6 years ago
Jan Petykiewicz 9d1f601ee9 Fix read_float* functions 6 years ago
Jan Petykiewicz 69a1afa2bc move code to new location 6 years ago
jan 0c8e187444 Subclass all errors from FatamorganaError 6 years ago
jan 3fbb7297f6 add missing comma 6 years ago
jan 7451782949 add license and readme to manifest 7 years ago
jan b8708d24d3 update readme 7 years ago