Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
natelust committed Feb 8, 2021
1 parent de15961 commit bec57d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/pipe/base/pipelineIR.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class LabeledSubset:
"""

@staticmethod
def from_primatives(label: str, value: Union[List[str], dict]) -> LabeledSubset:
def from_primitives(label: str, value: Union[List[str], dict]) -> LabeledSubset:
"""Generate `LabeledSubset` objects given a properly formatted object
that as been created by a yaml loader.
Expand Down Expand Up @@ -557,7 +557,7 @@ def _read_labeled_subsets(self, loaded_yaml: dict):
if not loaded_subsets and "subset" in loaded_yaml:
raise ValueError("Top level key should be subsets and not subset, add an s")
for key, value in loaded_subsets.items():
self.labeled_subsets[key] = LabeledSubset.from_primatives(key, value)
self.labeled_subsets[key] = LabeledSubset.from_primitives(key, value)

def _verify_labeled_subsets(self):
"""Verifies that all the labels in each named subset exist within the
Expand Down

0 comments on commit bec57d9

Please sign in to comment.