Skip to content

Commit

Permalink
Merge branch 'msstatic' into validation_tables
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalvin committed Jan 13, 2024
2 parents ca86a58 + b795174 commit 6908086
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion flint/ms.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@ def get_field_id_for_field(self, field_name: str) -> Union[int, None]:
"""Return the FIELD_ID for an elected field in a measurement set. See
`flink.ms.get_field_id_for_field` for full details.
"""

# TODO: I think this should be removed. The young pirate in me was
# going to go in a different direction
return get_field_id_for_field(ms=self, field_name=field_name)

@property
def ms(self) -> MS:
return self

@classmethod
def cast(cls, ms: Union[MS, Path]) -> MS:
"""Create a MS instance, if necessary, given eith a Path or MS.
Expand Down

0 comments on commit 6908086

Please sign in to comment.