diff --git a/singlepulse.py b/singlepulse.py index 0ecedc3..160dfd2 100644 --- a/singlepulse.py +++ b/singlepulse.py @@ -327,7 +327,7 @@ def compute_snr_from_h5(h5_file, detrend_ft=True, mad_filter=True, save=False, s #%% for i, pulsar_dir in enumerate(pulsar_dir_list): save_path = save_path_list[i] #AH: link directory and save path in a bit of a messy way oops - h5_dir = os.join(pulsar_dir,"cands","") + h5_dir = os.path.join(pulsar_dir,"cands","") h5_files = sorted(glob.glob(f"{pulsar_dir}*.h5")) results = []