Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Oct 18, 2024
1 parent 006e720 commit 9d47c8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subtract/subtract_with_wsclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

def fast_copy(filein, dest):
"""
Fast copy of folders
Args:
filein: file in
dest: out destination
Expand Down Expand Up @@ -889,7 +891,7 @@ def main():

# set subtract object
subpred = SubtractWSClean(mslist=args.mslist if not args.scratch_toil else [ms.split('/')[-1] for ms in args.mslist],
region=args.region if not args.scratch_toil else args.region.split('/')[-1],
region=args.region if not args.scratch_toil or args.region is None else args.region.split('/')[-1],
localnorth=not args.no_local_north,
inverse=args.inverse)

Expand Down

0 comments on commit 9d47c8c

Please sign in to comment.