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

Code style: imports #84

Closed
CodyCBakerPhD opened this issue Sep 24, 2024 · 1 comment
Closed

Code style: imports #84

CodyCBakerPhD opened this issue Sep 24, 2024 · 1 comment
Assignees

Comments

@CodyCBakerPhD
Copy link
Member

A question for @grg2rsr

Which import style do you prefer for readability?

(a)

from neuroconv.datainterfaces import SpikeGLXInterface

interface = SpikeGLXInterface(file_path=".../something_g0.ap.bin")

(b)

import neuroconv

interface = neuroconv.datainterfaces.SpikeGLXInterfacec(file_path=".../something_g0.ap.bin")

I'm fine with either but wanted to check with you first

@CodyCBakerPhD CodyCBakerPhD self-assigned this Sep 24, 2024
@grg2rsr
Copy link
Collaborator

grg2rsr commented Sep 27, 2024

(a)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants