beelabhmc / ant_tracker

Track ant movement in a lab setting using ML
http://hmcbee.blogspot.com/
1 stars 1 forks source link

Validate files using argparse automatically #28

Open JarredAllen opened 5 years ago

JarredAllen commented 5 years ago

The argparse module which the code uses to allow files to be passed as arguments currently takes the file names as strings and then opens them manually. Arparse can automate that using FileType objects, which would make file checking more robust and decrease the size and complexity of the codebase.