Skip to content

Commit

Permalink
nbdev_rxport
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Gorodetski committed May 7, 2024
1 parent e26f286 commit 9ccadcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pheno_utils/pheno_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ def __load_age_sex__(self) -> None:
align_df = self.merge_all_tables()
else:
align_df = self.dfs[list(self.dfs)[0]]

if ('research_stage' in align_df.columns) or ('research_stage' in align_df.index.names):
try:
age_df = pd.read_parquet(age_path)
Expand Down

0 comments on commit 9ccadcc

Please sign in to comment.