Skip to content

Commit

Permalink
chore: remove unnecessary check (done in estimators)
Browse files Browse the repository at this point in the history
  • Loading branch information
zietzm committed Aug 29, 2024
1 parent ea910d6 commit b4c0e11
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/maxgcp/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,14 +503,11 @@ def fit_command(
phenotypic_covariance_df = pd.read_csv(
phenotypic_covariance_file, sep=sep, index_col=0
)
if phenotypic_covariance_df.shape[0] != phenotypic_covariance_df.shape[1]:
raise ValueError("Phenotypic covariance matrix must be square")
if (
phenotypic_covariance_df.index.values.tolist()
!= phenotypic_covariance_df.columns.values.tolist()
):
raise ValueError("Phenotypic covariance matrix must be symmetric")

if target not in genetic_covariance_df.columns:
raise ValueError(f"Target {target} not found in genetic covariance file")
if include_target and (
Expand Down

0 comments on commit b4c0e11

Please sign in to comment.