Skip to content

Commit

Permalink
Merge pull request #3095 from neutrinoceros/hotfix_periodicity_warnin…
Browse files Browse the repository at this point in the history
…g_halo_catalog

fix a visible deprecation warning (periodicity) for halo_catalog
  • Loading branch information
munkm authored Feb 25, 2021
2 parents e41ee35 + b11b947 commit 10221b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/frontends/halo_catalog/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def __init__(self, ds, dataset_type):
"file_count",
"particle_types_raw",
"particle_types",
"periodicity",
"_periodicity",
]:
setattr(self, attr, getattr(self.real_ds, attr))

Expand Down

0 comments on commit 10221b0

Please sign in to comment.