Skip to content

Commit

Permalink
Revert "fix yaml tests"
Browse files Browse the repository at this point in the history
This reverts commit 1b350f1.
  • Loading branch information
h-mayorquin committed Dec 5, 2024
1 parent 1b350f1 commit 683ba39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_run_conversion_from_yaml():
assert nwbfile.institution == "My Institution"
assert nwbfile.session_start_time == datetime.fromisoformat("2020-10-09T21:19:09+00:00")
assert nwbfile.subject.subject_id == "1"
assert "ElectricalSeriesAPImec0" in nwbfile.acquisition
assert "ElectricalSeriesAP" in nwbfile.acquisition

nwbfile_path_2 = OUTPUT_PATH / "example_converter_spec_2.nwb"
assert nwbfile_path_2.exists(), f"`run_conversion_from_yaml` failed to create the file at '{nwbfile_path_2}'!"
Expand Down Expand Up @@ -111,7 +111,7 @@ def test_run_conversion_from_yaml_default_nwbfile_name(self):
assert nwbfile.institution == "My Institution"
assert nwbfile.session_start_time == datetime.fromisoformat("2020-10-09T21:19:09+00:00")
assert nwbfile.subject.subject_id == "Mouse 1"
assert "ElectricalSeriesAPImec0" in nwbfile.acquisition
assert "ElectricalSeriesAP" in nwbfile.acquisition

nwbfile_path = self.test_folder / "sub-Mouse-1_ses-20201109T211909.nwb"
assert nwbfile_path.exists(), f"`run_conversion_from_yaml` failed to create the file at '{nwbfile_path}'! "
Expand All @@ -123,7 +123,7 @@ def test_run_conversion_from_yaml_default_nwbfile_name(self):
assert nwbfile.institution == "My Institution"
assert nwbfile.session_start_time == datetime.fromisoformat("2020-11-09T21:19:09+00:00")
assert nwbfile.subject.subject_id == "Mouse 1"
assert "ElectricalSeriesAPImec0" in nwbfile.acquisition
assert "ElectricalSeriesAP" in nwbfile.acquisition

nwbfile_path = self.test_folder / "example_defined_name.nwb"
assert nwbfile_path.exists(), f"`run_conversion_from_yaml` failed to create the file at '{nwbfile_path}'! "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_run_conversion_from_yaml_cli(self):
assert nwbfile.institution == "My Institution"
assert nwbfile.session_start_time == datetime.fromisoformat("2020-10-09T21:19:09+00:00")
assert nwbfile.subject.subject_id == "1"
assert "ElectricalSeriesAPImec0" in nwbfile.acquisition
assert "ElectricalSeriesAP" in nwbfile.acquisition

nwbfile_path = self.test_folder / "example_converter_spec_2.nwb"
assert nwbfile_path.exists(), f"`run_conversion_from_yaml` failed to create the file at '{nwbfile_path}'! "
Expand Down Expand Up @@ -81,7 +81,7 @@ def test_run_conversion_from_yaml_default_nwbfile_name(self):
assert nwbfile.institution == "My Institution"
assert nwbfile.session_start_time == datetime.fromisoformat("2020-10-09T21:19:09+00:00")
assert nwbfile.subject.subject_id == "Mouse 1"
assert "ElectricalSeriesAPImec0" in nwbfile.acquisition
assert "ElectricalSeriesAP" in nwbfile.acquisition

nwbfile_path = self.test_folder / "sub-Mouse-1_ses-20201109T211909.nwb"
assert nwbfile_path.exists(), f"`run_conversion_from_yaml` failed to create the file at '{nwbfile_path}'! "
Expand All @@ -93,7 +93,7 @@ def test_run_conversion_from_yaml_default_nwbfile_name(self):
assert nwbfile.institution == "My Institution"
assert nwbfile.session_start_time == datetime.fromisoformat("2020-11-09T21:19:09+00:00")
assert nwbfile.subject.subject_id == "Mouse 1"
assert "ElectricalSeriesAPImec0" in nwbfile.acquisition
assert "ElectricalSeriesAP" in nwbfile.acquisition

nwbfile_path = self.test_folder / "example_defined_name.nwb"
assert nwbfile_path.exists(), f"`run_conversion_from_yaml` failed to create the file at '{nwbfile_path}'! "
Expand Down

0 comments on commit 683ba39

Please sign in to comment.