Skip to content

Commit

Permalink
Use .ecsv extension in dump instrument to enable Table.read.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe authored May 18, 2021
1 parent 61c0018 commit 562d506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctapipe/tools/dump_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _get_file_format_info(format_name):
if format_name == "fits":
return "fits.gz", dict()
elif format_name == "ecsv":
return "ecsv.txt", dict(format="ascii.ecsv")
return "ecsv", dict()
else:
raise NameError(f"format {format_name} not supported")

Expand Down

0 comments on commit 562d506

Please sign in to comment.