File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,12 @@ dependencies = [
4444 " torch" ,
4545 " tqdm" ,
4646 " casatools" ,
47- " pyvisgen@git+https://github.com/radionets-project/pyvisgen.git@main" ,
47+ ]
48+
49+ [project .optional-dependencies ]
50+
51+ pyvisgen = [
52+ " pyvisgen"
4853]
4954
5055[dependency-groups ]
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13from dataclasses import dataclass
24from pathlib import Path
35
79from astropy .io import fits
810from casatools .table import table
911from numpy .exceptions import AxisError
10- from pyvisgen .simulation import Observation , Visibilities
12+
13+ from typing import TYPE_CHECKING
14+
15+ if TYPE_CHECKING :
16+ from pyvisgen .simulation import Observation , Visibilities
1117
1218import pyvisgrid .plotting as plotting
1319from pyvisgrid .core .stokes import get_stokes_from_vis_data
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import numpy as np
2- from pyvisgen .simulation import Visibilities
4+
5+ from typing import TYPE_CHECKING
6+
7+ if TYPE_CHECKING :
8+ from pyvisgen .simulation import Visibilities
39
410
511def get_stokes_from_vis_data (
You can’t perform that action at this time.
0 commit comments