Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bkmartinjr committed Jul 14, 2023
1 parent df7d907 commit 9e50876
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,7 @@ def validate_axis_dataframes(
with open_experiment(soma_path, eb) as exp:
n_vars = len(eb_info[eb.name].vars)

census_obs_df = (
exp.obs.read(column_names=["soma_joinid", "dataset_id"]).concat().to_pandas()
)
census_obs_df = exp.obs.read(column_names=["soma_joinid", "dataset_id"]).concat().to_pandas()
assert eb_info[eb.name].n_obs == len(census_obs_df)
assert (len(census_obs_df) == 0) or (census_obs_df.soma_joinid.max() + 1 == eb_info[eb.name].n_obs)
assert eb_info[eb.name].dataset_ids == set(census_obs_df.dataset_id.unique())
Expand Down

0 comments on commit 9e50876

Please sign in to comment.