necst-telescope / necst

:gem: NEw Control System for Telescope
https://necst-telescope.github.io/necst/
MIT License
3 stars 0 forks source link

Modify config importing #223

Open TatsumiISHIKAWA opened 11 months ago

TatsumiISHIKAWA commented 11 months ago

Description

To Reproduce

and observation_base,

...
from ... import config
...
            params = PointingError.from_file(config.antenna_pointing_parameter_path)
...

Expected behavior

...
from .. import namespace, topic
from neclib import config
...
        self.record_condition = ConditionChecker(
            config.record_every_n_spectral_data or 1, True
        )
...
from neclib import config
...
            params = PointingError.from_file(config.antenna_pointing_parameter_path)
...