diff --git a/imcal.py b/imcal.py index 93618fbbce65903312f133049c484d6bc13e0097..1972bef29253d0eeb02331fc733d74e5ba07d14e 100755 --- a/imcal.py +++ b/imcal.py @@ -308,6 +308,7 @@ def model_apply_threshold(model, threshold=0.0, out=None): def main(msin, outbase=None, cfgfile='imcal.yml'): + msin = msin.rstrip('/') logging.info('Processing {}'.format(msin)) logging.info('The config file: {}'.format(cfgfile)) with open(cfgfile) as f: