Skip to content

Commit 2d4bbda

Browse files
committed
default back to csv
1 parent 66091fa commit 2d4bbda

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

gspy/file_handlers/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,11 @@ def file_handler(filename, **kwargs):
3737
elif xyz_handler.is_workbench(filename):
3838
return workbench_handler
3939

40-
# return generic_xyz_handler. when we have it.
41-
42-
assert False, Exception("Unrecognized XYZ file type.")
43-
4440
elif file_extension == '.dat':
4541
if isfile(file_name+'.dfn'):
4642
return aseg_gdf2_handler
4743
elif isfile(file_name+file_extension+'.desc'):
4844
return loupe_handler
4945

50-
# Catch all others as a csv i.e. .xyz, .csv
46+
# Catch all others as a csv i.e. .xyz, .csv, .txt etc.
5147
return csv_handler

0 commit comments

Comments
 (0)