Commit Graph

21 Commits

Author SHA1 Message Date
Martin A. Brown f17d164b52 allow creation of empty SourceCollection; fixes
Allow creation of an empty SourceCollection, which can be handed around in the
driver to allow for higher-level document wrangling
fix bad, always-failing directory check (thank you, testing)
clarify handling of documents living in a directory and the generation of the
fileset
2016-02-16 23:40:09 -08:00
Martin A. Brown ac44f5d577 refactor detection loop and identify duplicates
the nesting was deeper than necessary, so adjusting the detection of files
(and directories) and adding a bit more logging upon duplicate detection
2016-02-16 10:44:24 -08:00
Martin A. Brown f6f6d4b543 only guess the doctype once 2016-02-16 00:23:58 -08:00
Martin A. Brown 7b08ececf4 renaming OutputDirs more appropriately to OutputCollection 2016-02-15 23:52:08 -08:00
Martin A. Brown 55ef688015 adjust SourceDirs to behave like a dictionary 2016-02-15 21:51:56 -08:00
Martin A. Brown 01bee4a269 adjust error-raising invocations (and tests) 2016-02-15 21:32:35 -08:00
Martin A. Brown ae189e0d83 adjusting some logging and exceptions for verbosity/clarity 2016-02-15 21:15:29 -08:00
Martin A. Brown 7daefd03bd renaming Sources to SourceDirs 2016-02-15 20:58:44 -08:00
Martin A. Brown 82a8a21d18 check for plain file type, too 2016-02-12 23:59:13 -08:00
Martin A. Brown fe507461e8 found another typo while testing 2016-02-12 23:49:04 -08:00
Martin A. Brown 7affd10e0c correct the reference to the renamed guess function 2016-02-12 13:24:21 -08:00
Martin A. Brown 92fdf8bec1 case-insensitive sorting is preferred 2016-02-12 12:53:30 -08:00
Martin A. Brown ecf2bee8a6 removing unused sys; shortening logger lines 2016-02-12 12:42:58 -08:00
Martin A. Brown fc9da80f6f nicer visually to process a sorted set of files 2016-02-11 15:31:38 -08:00
Martin A. Brown becb768929 handling multiple source dirs and renaming SourceDir to, simply Sources 2016-02-11 15:16:12 -08:00
Martin A. Brown 627e2ff636 changing to __future__ (consistency across project) 2016-02-11 11:28:38 -08:00
Martin A. Brown 6de9aee212 changing names to sourcedir and outputdir 2016-02-11 09:28:31 -08:00
Martin A. Brown 5adbb9af4c removing the output elements from sources.py 2016-02-11 09:14:58 -08:00
Martin A. Brown 41bf2ef9c1 decreasing verbosity level on debugging logging 2016-02-11 08:17:04 -08:00
Martin A. Brown b047b22470 better __repr__ and doctype @property
Include a better __repr__ for the SourceDocument object and
make the doctype attribute a @property
2016-02-11 08:12:16 -08:00
Martin A. Brown 701657e54b initial commit 2016-02-10 19:22:23 -08:00