Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous Fixes #1220

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Miscellaneous Fixes #1220

wants to merge 10 commits into from

Conversation

samuelbray32
Copy link
Collaborator

@samuelbray32 samuelbray32 commented Feb 5, 2025

Description

Checklist:

  • N This PR should be accompanied by a release: (yes/no/unsure)
  • NA If release, I have updated the CITATION.cff
  • N This PR makes edits to table definitions: (yes/no)
  • NA If table edits, I have included an alter snippet for release notes.
  • NA If this PR makes changes to position, I ran the relevant tests locally.
  • I have updated the CHANGELOG.md with PR number and description.
  • NA I have added/edited docs/notebooks to reflect the changes

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@samuelbray32 samuelbray32 marked this pull request as ready for review February 5, 2025 22:55
@edeno edeno changed the title Miscelaneaous Fixes Miscellaneous Fixes Feb 7, 2025
@edeno edeno requested a review from CBroz1 February 11, 2025 21:30
Copy link
Member

@CBroz1 CBroz1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - Minor comments, but nothing that would prevent merge

warnings.warn(
f"Multiple ElectricalSeries objects found in: {nwb_file_abspath}\n\t"
+ f"Inserting only first entry in {self.full_table_name}\n\t"
+ "See issue #396 for more details."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just making a note that this PR won't resolve #396 - it looks like more work would need to be done to either add a part table or concatenate these objects

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, this PR just solves the case where there's non ElectricalSeries objects in acquisition

@@ -39,9 +39,9 @@ def add_member_team(common_lab, add_admin):
last_name="Basic",
),
dict(
lab_member_name="This Loner",
lab_member_name="This Loner", # codespell:ignore loner
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this value is ever read, so I think I'd just change this to an accepted word. Maybe Solo? Low prioroty

src/spyglass/common/common_device.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants