We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
element-lab
element-session
#example table definition pharmacology = '' : varchar(2048) # Drugs used, how/when administered slices='' : varchar(2048) # If slicing, preparation thickness, orientation, temperature, and bath solution surgery='' : varchar(2048) # Description of surger(y/ies), who performed, when relative to other events ->virus.Viruses='' : varchar(2048) # ID, source, date made, injection loc, volume # example export feature def SessionGeneral_to_nwb_dict(session_key=None): """ Generate a dictionary object containing relevant project information (e.g., experimental description, related publications, etc.). :param session_key: Key specifying one entry in element_session.Session :return: dictionary with NWB parameters """ if session_key is not None: sess_info = (session.Session & session_key).fetch1() return dict( pharmacology=sess_info.get('pharmacology', ''), slices=sess_info.get('slices', ''), source_script=sess_info.get('repositoryurl', ''), surgery=sess_info.get('surgery', ''), virus=sess_info.get('virus', '') # needs more specification ) else: return {}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
element-lab
PR 11 could be included inelement-session
.The text was updated successfully, but these errors were encountered: