We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66091fa commit 2d4bbdaCopy full SHA for 2d4bbda
gspy/file_handlers/__init__.py
@@ -37,15 +37,11 @@ def file_handler(filename, **kwargs):
37
elif xyz_handler.is_workbench(filename):
38
return workbench_handler
39
40
- # return generic_xyz_handler. when we have it.
41
-
42
- assert False, Exception("Unrecognized XYZ file type.")
43
44
elif file_extension == '.dat':
45
if isfile(file_name+'.dfn'):
46
return aseg_gdf2_handler
47
elif isfile(file_name+file_extension+'.desc'):
48
return loupe_handler
49
50
- # Catch all others as a csv i.e. .xyz, .csv
+ # Catch all others as a csv i.e. .xyz, .csv, .txt etc.
51
return csv_handler
0 commit comments