Skip to content

Commit

Permalink
abs path taql
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Jun 16, 2024
1 parent 6b270b1 commit c5ed631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h5_merger.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def __init__(self, h5_out, h5_tables=None, ms_files=None, h5_time_freq=None, con
self.ax_time = array([])
self.ax_freq = array([])
for m in self.ms:
t = ct.taql('SELECT CHAN_FREQ, CHAN_WIDTH FROM ' + m + '::SPECTRAL_WINDOW')
t = ct.taql('SELECT CHAN_FREQ, CHAN_WIDTH FROM ' + os.path.abspath(m) + '::SPECTRAL_WINDOW')
self.ax_freq = append(self.ax_freq, t.getcol('CHAN_FREQ')[0])
t.close()

Expand Down

0 comments on commit c5ed631

Please sign in to comment.