diff --git a/pyproject.toml b/pyproject.toml index b0eef5b..2607902 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ readme = "README.md" requires-python = ">=3.8" dependencies = [ "ruamel.yaml", - "pint_pulsar==1.0.1", + "pint_pulsar>=1.1.1", "enterprise-pulsar>=3.3.2", "enterprise-extensions>=v2.4.1", "pytest", @@ -29,7 +29,7 @@ dependencies = [ "numpy", "weasyprint", "pytest-xdist[psutil]>=2.3.0", - "jupyter", + "notebook", "seaborn", "gitpython", ] diff --git a/src/pint_pal/noise_utils.py b/src/pint_pal/noise_utils.py index bca27bd..968b48a 100644 --- a/src/pint_pal/noise_utils.py +++ b/src/pint_pal/noise_utils.py @@ -432,7 +432,7 @@ def add_noise_to_model(model, burn_frac = 0.25, save_corner = True, no_corner_pl #Setup and validate the timing model to ensure things are correct model.setup() model.validate() - model.noise_mtime = mtime.isot + model.meta['noise_mtime'] = mtime.isot if convert_equad_to_t2: from pint_pal.lite_utils import convert_enterprise_equads diff --git a/src/pint_pal/timingconfiguration.py b/src/pint_pal/timingconfiguration.py index e605b9e..1c7c721 100644 --- a/src/pint_pal/timingconfiguration.py +++ b/src/pint_pal/timingconfiguration.py @@ -157,9 +157,9 @@ def get_model_and_toas(self,usepickle=True,print_all_ignores=False,apply_initial m = model.get_model(par_path,allow_name_mixing=True) match = re.search(r"#\s+Created:\s+(\S+)", open(par_path).read()) if match: - m.created_time = match.group(1) - log.info(f"Par file created: {m.created_time}") - m.file_mtime = Time(os.path.getmtime(par_path), format="unix").isot + m.meta['created_time'] = match.group(1) + log.info(f"Par file created: {m.meta['created_time']}") + m.meta['file_mtime'] = Time(os.path.getmtime(par_path), format="unix").isot if m.PSR.value != self.get_source():