Skip to content

Commit

Permalink
Debug code and fix typo in warning text.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Nov 16, 2023
1 parent f705cd3 commit 0c74c3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _get_behavior_metadata(self, bs_row):
bs_row=bs_row, column_name="driver_line"
)
behavior_session_metadata["equipment_name"] = self._retrieve_column(
bs_row=bs_row, columns_name="equipment_name"
bs_row=bs_row, column_name="equipment_name"
)
behavior_session_metadata["full_genotype"] = self._retrieve_column(
bs_row=bs_row, column_name="full_genotype"
Expand Down Expand Up @@ -117,7 +117,7 @@ def _retrieve_column(self, bs_row: pd.Series, column_name: str):
warn(f"Warning, {column_name} not in metadata table. Unless this "
"has been added it to skip_metadata_key or "
"skip_stimulus_file_key as inpput, creating the NWB file "
"fail.")
"may fail.")
return None
else:
value = bs_row[column_name]
Expand Down

0 comments on commit 0c74c3c

Please sign in to comment.