Skip to content

Commit

Permalink
ruff it up
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed Dec 14, 2023
1 parent edd8ff2 commit 5423e0e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion arrakis/cutout.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from astropy.utils.exceptions import AstropyWarning
from astropy.wcs.utils import skycoord_to_pixel
from dask.distributed import Client, LocalCluster
from distributed import get_client
from prefect import flow, task, unmapped
from spectral_cube import SpectralCube
from spectral_cube.utils import SpectralCubeWarning
Expand Down
1 change: 0 additions & 1 deletion arrakis/linmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from astropy.utils.exceptions import AstropyWarning
from dask.distributed import Client, LocalCluster
from prefect import flow, task, unmapped
from prefect.utilities.annotations import quote
from racs_tools import beamcon_3D
from spectral_cube.utils import SpectralCubeWarning
from spython.main import Client as sclient
Expand Down
2 changes: 1 addition & 1 deletion arrakis/makecat.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from astropy.stats import sigma_clip
from astropy.table import Column, Table
from dask.diagnostics import ProgressBar
from prefect import flow, task, unmapped
from prefect import flow, task
from rmtable import RMTable
from scipy.stats import lognorm, norm
from tqdm import tqdm
Expand Down
9 changes: 2 additions & 7 deletions arrakis/process_spice.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@
import logging
import os
from pathlib import Path
from typing import Any, Optional, Tuple

import configargparse
import pkg_resources
import yaml
from astropy.time import Time
from dask.distributed import Client, LocalCluster
from dask_mpi import initialize
from distributed.deploy.cluster import Cluster
from prefect import flow
from prefect.task_runners import BaseTaskRunner
from prefect_dask import DaskTaskRunner, get_dask_client
from prefect_dask import DaskTaskRunner

from arrakis import (
cleanup,
Expand All @@ -28,8 +24,7 @@
)
from arrakis.logger import logger
from arrakis.utils.database import test_db
from arrakis.utils.meta import class_for_name
from arrakis.utils.pipeline import logo_str, performance_report_prefect
from arrakis.utils.pipeline import logo_str


@flow(name="Combining+Synthesis on Arrakis")
Expand Down

0 comments on commit 5423e0e

Please sign in to comment.