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

Show info about Scooby in the report #14

Closed
banesullivan opened this issue Jun 29, 2019 · 2 comments · Fixed by #15
Closed

Show info about Scooby in the report #14

banesullivan opened this issue Jun 29, 2019 · 2 comments · Fixed by #15

Comments

@banesullivan
Copy link
Owner

We should also add a header line to show info about the version of Scooby being used to make the report. Perhaps something light-hearted and simple like:

>>> scooby.investigate()
------------------------------------------------------
  Looks like we've got another mystery on our hands!
  Scooby 0.2.1 reporting for duty!
  Date: Sat Jun 29 14:32:01 2019 MDT
...
@prisae
Copy link
Collaborator

prisae commented Jun 29, 2019 via email

@banesullivan
Copy link
Owner Author

banesullivan commented Jun 29, 2019

I think it makes the most sense to put it in the Python package section if not in a preamble. I just changed #15 to the following by putting Scooby's version in the report's internal dictionary of package versions (and since it's Python 3, the order is preserved so scooby would always appear first)

------------------------------------------------------
  Date: Sat Jun 29 14:45:40 2019 MDT
  Platform: Darwin-18.5.0-x86_64-i386-64bit

             12 : CPU(s)
         x86_64 : Machine
          64bit : Architecture
        32.0 GB : RAM

  3.7.3 | packaged by conda-forge | (default, Mar 27
  2019, 15:43:19)  [Clang 4.0.1
  (tags/RELEASE_401/final)]

         Python : Environment

          0.2.1 : scooby
         1.16.3 : numpy
          1.3.0 : scipy
          7.5.0 : IPython
          3.1.0 : matplotlib

  Intel(R) Math Kernel Library Version 2018.0.3
  Product Build 20180406 for Intel(R) 64
  architecture applications
------------------------------------------------------

banesullivan added a commit that referenced this issue Jun 30, 2019
* First pass at a preamble for #14

* Simpler scooby version reporting

* Implement default list for packages to report

* Fix default packages

* Show scooby last

* Fix silly encoding issue

* Allow user to sort packages

* Allow access to sort_dictionary
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

Successfully merging a pull request may close this issue.

2 participants