Skip to content

Commit

Permalink
Remove blank.ms and references to it
Browse files Browse the repository at this point in the history
Ever since PR #75 it is no longer needed to create MeasurementSets.
So long little one, you have served us well ever since the glory days
of ffinder/k7augment in 2010 :-)

This addresses JIRA ticket SR-1189.
  • Loading branch information
ludwigschwardt committed May 9, 2018
1 parent 7b5ab29 commit a997b0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file removed blank.ms.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions katdal/ms_extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ def populate_ms_dict(uvw_coordinates, vis_data, timestamps, antenna1_index, ante
# ----------------- Write completed dictionary to MS file --------------------


def open_main(ms_name='./blank.ms', verbose=True):
def open_main(ms_name, verbose=True):
t = open_table(ms_name, ack=verbose)
if t is None:
print "Failed to open main table for writing."
Expand Down Expand Up @@ -1009,7 +1009,7 @@ def write_rows(t, row_dict, verbose=True):
print " column '%s' not in table" % (col_name,)


def write_dict(ms_dict, ms_name='./blank.ms', verbose=True):
def write_dict(ms_dict, ms_name, verbose=True):
# Iterate through subtables
for sub_table_name, sub_dict in ms_dict.iteritems():
# Allow parsing of single dict and array of dicts in the same fashion
Expand Down

0 comments on commit a997b0f

Please sign in to comment.