Skip to content

Commit b5df80f

Browse files
committed
Yeet
1 parent 57416f6 commit b5df80f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

arrakis/linmos.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77
import logging
88
import os
99
import shlex
10-
import uuid
1110
import warnings
1211
from glob import glob
1312
from pathlib import Path
1413
from pprint import pformat
15-
from shutil import copyfile
1614
from typing import NamedTuple as Struct
1715

1816
import astropy.units as u
@@ -203,17 +201,6 @@ def genparset(
203201

204202
if holofile is not None:
205203
logger.info(f"Using holography file {holofile} -- setting removeleakge to true")
206-
mem_dir = os.getenv("MEMDIR", None)
207-
if mem_dir is not None:
208-
logger.info(f"Copying holography file to {mem_dir}")
209-
mem_path = Path(mem_dir)
210-
holofile_name = str(uuid.uuid1()) + ".fits"
211-
logger.info(f"Copying holography file to {holofile_name}")
212-
holo_copy = mem_path / holofile_name
213-
if not holo_copy.exists():
214-
copyfile(holofile, holo_copy)
215-
holofile = holo_copy
216-
217204
parset += f"""
218205
linmos.primarybeam = ASKAP_PB
219206
linmos.primarybeam.ASKAP_PB.image = {holofile.resolve().as_posix()}

0 commit comments

Comments
 (0)