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

Can I get a list of the scans ...? #206

Closed
prjemian opened this issue Jul 29, 2019 · 2 comments
Closed

Can I get a list of the scans ...? #206

prjemian opened this issue Jul 29, 2019 · 2 comments
Assignees
Milestone

Comments

@prjemian
Copy link
Contributor

This could be a general command but often ends up needing information special to the installation as part of the display. Common items to be displayed:

  • scan_id
  • date & time (human-readable)
  • plan_name
  • short uid

see: aps-8id-dys/ipython-8idiuser#16

@prjemian prjemian added this to the milestone-2019-09 milestone Jul 29, 2019
@prjemian prjemian self-assigned this Jul 29, 2019
@prjemian
Copy link
Contributor Author

Let's keep the search simple, to the N most recent scans.

prjemian added a commit that referenced this issue Jul 29, 2019
@prjemian
Copy link
Contributor Author

Example:

In [1]: APS_utils.list_recent_scans()                                                                                                                                      
======= ========================== ========= =========
scan_id date/time                  plan_name short_uid
======= ========================== ========= =========
156     2019-07-26 19:59:57.377210 scan      235cc8e  
155     2019-07-26 19:57:30.607125 scan      82406dd  
154     2019-07-26 19:51:20.782338 scan      2686b6c  
153     2019-07-26 19:51:09.612783 scan      cce138d  
152     2019-07-26 19:48:08.975842 scan      e6202ae  
151     2019-07-25 16:45:36.114533 count     f6249d8  
150     2019-07-25 16:19:07.410803 count     9457fa4  
149     2019-07-25 16:19:04.929030 count     f17f026  
148     2019-07-25 16:19:01.660155 count     85f3d25  
147     2019-07-25 16:18:30.762564 count     4d02803  
146     2019-07-10 14:42:46.607012 scan      1e19ec4  
145     2019-07-10 14:39:44.821556 scan      7181a53  
144     2019-07-10 14:35:27.681159 scan      6840b1f  
143     2019-07-10 14:32:47.457550 scan      260908b  
142     2019-07-10 14:17:27.474406 scan      509e44f  
141     2019-07-10 14:13:32.598235 scan      20f7389  
140     2019-07-10 14:13:02.561837 count     388108b  
139     2019-07-04 16:56:59.574095 count     1f093f5  
138     2019-07-04 16:52:15.857584 scan      f40d1c3  
137     2019-07-04 16:52:07.392449 count     81bf110  
======= ========================== ========= =========

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

No branches or pull requests

1 participant