You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often, a user wants to quickly check on something in a pipeline, etc. without using a 'full' pipeline environment with pipeline code, dependencies, etc. In these cases, often the workflow is:
start datajoint
set auth configuration
connect
create virtual modules
perform specific task desired
It would be nice to provide a simple utility to quickly launch a connected datajoint session with appropriate schemas loaded
as virtual modules for these cases. Potentially this could be designed in a future-proof way for managing other common DataJoint related things (e.g. create pipeline, change password, setup external, launch UI etc)
Requirements
cli utility to launch a connected datajoint session with virtual modules loaded
Justification
see 'Problem'
Alternative Considerations
see 'Problem'
Additional Research and Context
Created a basic script to this end for personal use available here: https://github.com/ixcat/djwip/blob/master/djwip/ixcat/djcli/dj.py
synopsis:
$ dj -h
usage: dj [-u user] [-p password] [-h host] [-s db:schema ...]
-u/-p/-h should be straightforward; -s will map the database schema named db to the schema virtual module named schema e.g. -s ixcat_subject:subject to map the ixcat_subject database schema to a virtual module bound to the variable schema within the resulting interpreter.
The text was updated successfully, but these errors were encountered:
Feature Request
Problem
Often, a user wants to quickly check on something in a pipeline, etc. without using a 'full' pipeline environment with pipeline code, dependencies, etc. In these cases, often the workflow is:
It would be nice to provide a simple utility to quickly launch a connected datajoint session with appropriate schemas loaded
as virtual modules for these cases. Potentially this could be designed in a future-proof way for managing other common DataJoint related things (e.g. create pipeline, change password, setup external, launch UI etc)
Requirements
Justification
see 'Problem'
Alternative Considerations
see 'Problem'
Additional Research and Context
Created a basic script to this end for personal use available here:
https://github.com/ixcat/djwip/blob/master/djwip/ixcat/djcli/dj.py
synopsis:
-u
/-p
/-h
should be straightforward;-s
will map the database schema nameddb
to the schema virtual module namedschema
e.g.-s ixcat_subject:subject
to map theixcat_subject
database schema to a virtual module bound to the variableschema
within the resulting interpreter.The text was updated successfully, but these errors were encountered: