-
Notifications
You must be signed in to change notification settings - Fork 24
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
ENH: A new experiment command #85
Comments
This is a checklist of features of new command function
|
For (3) an IPython magic might be used instead, since it can occur in the same process where For (4) I am unclear on whether we want to collect the saf or just the proposal number. (Is that what "gup" means?") I think we should treat them all as strings, because we are not in control of the specification and have to assume that they may not always be integers. |
Use a string, makes it future proof. APS has at least three kinds of
proposal. It is useful to include the kind of proposal as a prefix.
…On Mon, Jun 8, 2020, 12:31 PM Dan Allan ***@***.***> wrote:
For (3) an IPython magic might be used instead, since it can occur in the
same process where RE.md is defined. But I think that's an open question,
and we may want both.
For (4) I am unclear on whether we want to collect the saf or just the
proposal number. (Is that what "gup" means?") I think we should treat them
all as strings, because we are not in control of the specification and have
to assume that they may not always be integers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#85 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARMUMHWYFOYBKMCZEC2ZQDRVUN6TANCNFSM4NIDJSKQ>
.
|
NeXus went through this same decision tree and agreed, finally, string was
the robust choice.
…On Mon, Jun 8, 2020, 12:36 PM Pete Jemian ***@***.***> wrote:
Use a string, makes it future proof. APS has at least three kinds of
proposal. It is useful to include the kind of proposal as a prefix.
On Mon, Jun 8, 2020, 12:31 PM Dan Allan ***@***.***> wrote:
> For (3) an IPython magic might be used instead, since it can occur in the
> same process where RE.md is defined. But I think that's an open
> question, and we may want both.
>
> For (4) I am unclear on whether we want to collect the saf or just the
> proposal number. (Is that what "gup" means?") I think we should treat them
> all as strings, because we are not in control of the specification and have
> to assume that they may not always be integers.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#85 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AARMUMHWYFOYBKMCZEC2ZQDRVUN6TANCNFSM4NIDJSKQ>
> .
>
|
Expected Behavior
What will happen after execuate
bsui
1.
After entering bsui(ipython)
new_experiment(gup=0, saf=0, name='Def'...)
could overwrite session.jsonlist_experiment_info
will print session.jsonend_experiment
will delete session.jsonRE()
will check if session.json exist. If it's, load it as equivalentRE.md['saf'] = "123456"
Options
bsui --develop
will skip prompt to make development easierbsui --continue
won't overwrite existing session.jsonPossible Solution
nslsii
. BMM has a example in 08-user.pynew_experiment
list_experiment_info
end_experiment
Update bsui. A good source of prompt code might be cookiecutter. It's depend on click
A location and format of file
session.json
, maybe:The text was updated successfully, but these errors were encountered: